When a customer submits a form that requires payment and chooses the type of Credit Card, I want to route them to the payment page. We can not take payment without first generating the payment URL, with a workflow activity, so we re-route the user to another process after submission to continue making the payment.
So I put the instructions in a Rich Text field and used that variable in the On Event Completion. The field is set to ignore the data if they do not choose Credit Card so that it will not show up.
And I am switching to the HTML view before inserting the token to let the system know that this is HTML.
However it does 2 things wrong. It puts the HTML in as text rather than treating it as a language.
And it removes the dataset information from the string, which I need to pass variables.
Here is my Rich Text field configuration
If the instructions were pure text it would work well, but I need HTML to generate a hyperlink and pass over variables.