Hi All,
I'm a bit confused and lost in dealing with dynamic (in term of fields 
present) or more advanced form with Sprox, and also of course the 
validation involved.
here is my case,
I have 7 fields in a form, 5 textfields, 1 combobox, and 1 checkbox.
The checkbox hold an important roles, it decides whether one textfield will 
become required or not, also when it's checked, the form will expand and 
showing 2 more textfields.
Fields:
1. Textfield - required
2. Combobox (using tw2.jqplugins.chosen) - required, but the validation 
didn't work, not giving error when left empty
3. Textfield - required
4. Textfield - initially not required, but when checkbox selected, it'll 
become required
5. Textfield - optional
6. Textfield - optional
7. Checkbox - the trigger
8. Textfield - initially not present, will be displayed if checkbox is 
selected, then become required
9. Same as 8.

I'm using custom template for Form and it's Layout,
I know there is a tw2 plugin called tw2.dynform, but i haven't find any 
documentation to integrate it with sprox.
Is there any tip to make this work?
or do i have to go with a javascript solution?

Thanks..
Panjie Setiawan W

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/C7tXNigz4mgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to