How to pass form variables inputted to a confirmation page upon submit

I have a form called “form_ticket”. On that form I am capturing 3 fields: First Name, Last Name, and email address. Once the form is submitted, I want to call to display a new html page (which I can format the look, etc. of) and on that form I want to include the 3 variables (First Name, Last Name and email address) from the calling form. Can you please provide an example of this?

Re: How to pass form variables inputted to a confirmation page upon submit

Hello,

You could save those fields using global variables. On the onAfterInsert() you could do:

[globalVariable] = {someField};
[anotherVariable] = {firstName};
[thirdVar] = {email};

On application – > settings you will set those global variables type as “out” meaning that the value will not be inputed, the system will set its value.

Then, you will be able to use those variables on any other application, as long as their value have been set before.

regards,
Bernhard Bernsmann

Re: How to pass form variables inputted to a confirmation page upon submit

Thanks for your reply. Here’s what I have in my form application containing the 3 input fields.

form_ticket:

[categoryID] = {categoryID};
[issueDesc] ={issueDesc};
[priorityID] = {priotityID};

blank page ticketConfirmation

echo “[categoryID]”;

echo “[issueDesc]”;

echo “[priorityID]”;

They way I am navigating from the formTicket application and the ticketConfirmation application is through a link. However, the link only allows me to pass one field it seems. Am I navigating between the forms correctly?

When I run the form, the ticketConfirmation page will only show the one field issueDesc that was passed in the link. The other ones are throwing the following error message: “The following global variables are missing: priorityID;”

I am close but think I am still missing something. Any help is appreciated.

Re: How to pass form variables inputted to a confirmation page upon submit

Hello,

Is it a multiple registries form, or single registry?

regards,
Bernhard Bernsmann