I am trying to move beyond what you described in tutorials 40 and 41, but I am stuck. I have achieved
· a message that is displayed on Submit,
· an email that is sent to the user on Submit, and
· an email that is sent to (eg our office) on Submit
To set the scene, and using your homeowner/mortgage example, if a user selects ‘Homeowner with Mortgage’, options to enter ‘Balance’ and ‘Monthly payment’ are presented. Alternatively, if the user selects ‘Homeowner with No Mortgage’ the options would be: ‘Value of property’, etc
And that works perfectly on my form; only what is selected is visible.
My challenge is to restrict the information on the submit message (it too will have the relevant data) and on the two emails to the information that has been ‘filtered’ by the Question Events. For example, if the user had selected ‘Homeowner with Mortgage’ they would only see a ‘Homeowner with Mortgage’ heading along with the ‘Balance’ and ‘Monthly Payment’ details. They would see nothing relating to the option(s) that they chose not to select.
I can’t find mention of how to do this anywhere and would really appreciated being pointed in the right direction.
And here is a related question; one to do with validation. Pressing on with the example: in the case of a user selecting ‘…… with Mortgage….’ I want ‘Balance’ to be a required field; if they select “…no mortgage…” I want “Value of property” to be required. I don’t want error messages being thrown up for areas/questions that users have not been near. Currently I can achieve an all-required or nothing-required solution.
Please, how can I make the validation conditional on the answer to the Initiation Question?