We are working on an application using the CakePHP framework
Basically, its a questionnaire application and it has a few dependant
questions, i.e. based on a response to a specific question, it needs
to show or hide the next one
For e.g.
Question: Are you married? Yes/No
If the user selects Yes, then using javascript the next question gets
displayed for user input
Question: Spouse's name
Saving this information is fine, but when editing, when populating the
form, we would want to be able to display the fields for which user
has inputted data - in this case, it needs to show the field that has
the spouse's name
Since by default we are hiding the spouse name field, when editing, it
doesn't display the field, even though there is a value to it
Is there some way that CakePHP can handle this or does it require us
to write some javascript to take care of this?
Hope the question made sense
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment