1
0
-1

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:

2014-05-13_SubmissionData.png

  1. Matthew White
    If we extract a field at a given xpath and call it "firstname" do we then refer to it in the template as $submission.firstname ?
  2. Don Sibley
    Matt. After you have made the mapping. you can place the following in the templete ${submission.dataExtractMap.firstname}
    Tested and working.

    Don
CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1
    1. Unknown User (support)
      Yes, you can do this in Transact Manger. The submission object is available to the confirmation page template.
      Use the submission data extract feature to set the form fields that you want to expose to the confirmation page.
      Forms > Form > Form Version > Form Data Config > Submission Data Extract Tab.
      2014-05-13_SubmissionData.png
    CommentAdd your comment...