$IF –SubmitSuccess$ checks whether a form has been submitted successfully. In order for submitSuccess to be true, all of the following must be true.
1. Pass Input validation - All iService validations (confirm input, required fields, etc.) must pass validation when the form is submitted.
2. All actions must run without error - If there are actions specified on the form, they must run without error.
3. The form must be a post - The form must include an HTML post.
Example 1: Thank you notice
This is useful when you want to present different content on a form after a form is posted. For example, you could present a thank you message after an ask a question form is successfully posted.
$IF –SubmitSuccess$
Thanks for contacting us.
$Else$
Please submit your request.
$EndIf$
Example 2: Multi-step form
A form with multiple steps can be constructed to load a second section after the first section posts successfully.
$IF –SubmitSuccess$
Continue on with the 2nd part of your process.
$Else$
Submit the first part of your process here.
$EndIf$