Dynamic Form Creation
so have 3 tables: users, services, , mappedusers. mappedusers table first 2 columns userid , serviceid, combining primary key. foreign keys users & services tables. everytime new user created, there entry mappedusers table each service. if there 4 services available(1-4), there 4 inserts mappedusers special attention being paid 3rd & 4th column in table: name(string) & allowed (boolean).
what trying dynamically create formitems textinput , checkbox these 2 items. far have dynamically generating textinputs & checkboxes complete data stored in database. cannot figure out how update db typing new values, checking/unchecking boxes, whatever. how know dynamically created row associated serviceid, etc in table?
i saw repeater doc here, , saw 3/4 of page down textinputs , repeaterindices
but cannot figure out how works. have posted mxml below, , way @ bottom of repeater. selecthandler function calls php, executes query, , returns data object, push object singleuser array , displays data in repeater. there, updating tables based on changes make what's in repeater stuck.
what trying dynamically create formitems textinput , checkbox these 2 items. far have dynamically generating textinputs & checkboxes complete data stored in database. cannot figure out how update db typing new values, checking/unchecking boxes, whatever. how know dynamically created row associated serviceid, etc in table?
i saw repeater doc here, , saw 3/4 of page down textinputs , repeaterindices
but cannot figure out how works. have posted mxml below, , way @ bottom of repeater. selecthandler function calls php, executes query, , returns data object, push object singleuser array , displays data in repeater. there, updating tables based on changes make what's in repeater stuck.
"hallik" <webforumsuser@macromedia.com> wrote in message
news:giencv$fa3$1@forums.macromedia.com...
> have 3 tables: users, services, , mappedusers. mappedusers
> table
> first 2 columns userid , serviceid, combining primary key.
>
> foreign keys users & services tables. everytime new
> user
> created, there entry mappedusers table each service.
>
> if there 4 services available(1-4), there 4 inserts
> mappedusers special attention being paid 3rd & 4th column
> in
> table: name(string) & allowed (boolean).
>
> trying dynamically create formitems textinput
> ,
> checkbox these 2 items. far have dynamically generating
>
> textinputs & checkboxes complete data stored in database.
>
> cannot figure out how update db typing new values,
> checking/unchecking boxes, whatever. how know
> dynamically
> created row associated serviceid, etc in table?
store key value(s) in value object.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment