PDA

View Full Version : advanced forms?



fruitwerks
15 Aug 2009, 7:09 PM
I would like to create a form that then populates required fields that would triggered by what is selected from the initial combo..

so we start with a date and the combo for the type of record. if the type is 1, I would need to add in another combo, if the event is 2, I would need a text field... if the event is 3, that would be it

What do I need to look into to get started?

Thanks

evant
15 Aug 2009, 7:55 PM
Containers have a dynamic add() method to add new items, check out the docs.

httpdotcom
15 Aug 2009, 11:27 PM
or, you can hide/disable all secondary controls (combos, textfields, etc), and then display based on initial selection. Make sure you search in the forums for code examples for hiding and displaying field labels.