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.



"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

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62