I have created a new form property to control some of the content that is displayed on the confirmation page. I am already using the submissionMessage so that is not available.I have one form that will either require attachments or not, depending on some of the data the user enters. If it requires attachments, I need to display message A in the green box that says Thankyou on the confirmation page. If it does not require attachments, I need to display message B in the green box that says Thankyou on the confirmation page. I have considered modifying the confirmation page and placing the $form.submissionMessage within the green box on the Thankyou page. However, the form is already dynamically setting the submissionMessage by binding a hidden field to the SubmissionMessage element in SFMData.
I thought that I could simply add another form property in TM and then place that on the confirmation page inside the green box. That worked and I can set it to a static value by going into TM and entering it in and saving it. What I'd like to do is be able to set that form property somehow from within the form. How would you recommend I do this?
Attachment to support question above: