Hi
Have 2 forms, one for new registration and another for editing the registration details.
The new form has a dropdown list, the last value being “other”. If a user chooses “other” then a text box opens and user can explain. The explanation text box is initially hidden and is made visible only if the user chooses “other”, ie triggers a “New Value” event. This works. The new registration is saved to the db.
Then also have a list, built in ChronoConnectivity5, that shows some field data from the registration form. This has an edit column, that opens the 2nd form, the one for editing registration details. This works, the edit form opens and is populated with the registration details that are going to be edited.
Say the user, when first registering, did not choose “other”. In this case the conditional text box is not visible. The user submits the form and it's saved to the db. The user then decides to edit the rgistration details, opens the edit form and changes value to “other”. This opens the text box and user types some text. Then he submits the form, gets sent back to the Connectivity and is saved to the database. The DB save works. Very nice.
The challenge is when the user wants to make a second edit. When he opens the edit form for the 2nd time the conditional text box that now holds data is not visible because the event that triggers it is “New Value” and there is no “New Value”. “New Value” is the only event that is triggered by data values. All the other events, eg “Change Value”, “Check” etc are linked only to field names, not data values. In any case seems they would not work because we likely need an event like “OnLoad” or similar so that when a form loads and “Field x” has a value of “y”, then show/hide … .
Sorry for the complicated explanation. If this functionality cannot be built, how can I code this.
Not sure where to start, rudimentary PHP, CSS etc.
Thanks
Bill
Have 2 forms, one for new registration and another for editing the registration details.
The new form has a dropdown list, the last value being “other”. If a user chooses “other” then a text box opens and user can explain. The explanation text box is initially hidden and is made visible only if the user chooses “other”, ie triggers a “New Value” event. This works. The new registration is saved to the db.
Then also have a list, built in ChronoConnectivity5, that shows some field data from the registration form. This has an edit column, that opens the 2nd form, the one for editing registration details. This works, the edit form opens and is populated with the registration details that are going to be edited.
Say the user, when first registering, did not choose “other”. In this case the conditional text box is not visible. The user submits the form and it's saved to the db. The user then decides to edit the rgistration details, opens the edit form and changes value to “other”. This opens the text box and user types some text. Then he submits the form, gets sent back to the Connectivity and is saved to the database. The DB save works. Very nice.
The challenge is when the user wants to make a second edit. When he opens the edit form for the 2nd time the conditional text box that now holds data is not visible because the event that triggers it is “New Value” and there is no “New Value”. “New Value” is the only event that is triggered by data values. All the other events, eg “Change Value”, “Check” etc are linked only to field names, not data values. In any case seems they would not work because we likely need an event like “OnLoad” or similar so that when a form loads and “Field x” has a value of “y”, then show/hide … .
Sorry for the complicated explanation. If this functionality cannot be built, how can I code this.
Not sure where to start, rudimentary PHP, CSS etc.
Thanks
Bill