I am setting up my first FaaS form and while the form seems to be working just fine, I do have a few questions that I haven't been able to find answers to.
First, I set up the Success/Decline/Error pages and they do appear correctly, depending on the form submission, but I'm wondering if there is a way to add code to the body of those pages that will then print a message to the user, especially if the Error or Decline page appears. When looking at the online documentation for FaaS, it looks like there might be more set up information for these pages, but I'm just not sure where. The documentation (http://manual.clickandpledge.com/Form-as-a-Service.html) says this: "The above links instruct the FaaS service what page to respond to when a card authorizes, declines, or when an error is generated. Details of how to setup a page as well as examples are provided in the following sections." But I don't seen any following sections on these pages.
And second, how are required fields dealt with on these forms? I don't see anything in the documentation and there is nothing in the example forms. When the form is submitted without one of the fields, it responds with the error page and I see "/err=Firstname%20required" in the URL, but how can this be passed along to the user, or better yet, be checked in-page when submit is hit?
Lastly, there seems to be a default receipt set up for the account and that is what I'm using for this form. However, if I wanted to create a custom receipt for this form, how would I go about creating the new receipt and connecting it to the form?
Thanks for any help.
The form is online here, set to OrderMode of test: https://coastalfisheries.org/fishforever/
First, I set up the Success/Decline/Error pages and they do appear correctly, depending on the form submission, but I'm wondering if there is a way to add code to the body of those pages that will then print a message to the user, especially if the Error or Decline page appears. When looking at the online documentation for FaaS, it looks like there might be more set up information for these pages, but I'm just not sure where. The documentation (http://manual.clickandpledge.com/Form-as-a-Service.html) says this: "The above links instruct the FaaS service what page to respond to when a card authorizes, declines, or when an error is generated. Details of how to setup a page as well as examples are provided in the following sections." But I don't seen any following sections on these pages.
And second, how are required fields dealt with on these forms? I don't see anything in the documentation and there is nothing in the example forms. When the form is submitted without one of the fields, it responds with the error page and I see "/err=Firstname%20required" in the URL, but how can this be passed along to the user, or better yet, be checked in-page when submit is hit?
Lastly, there seems to be a default receipt set up for the account and that is what I'm using for this form. However, if I wanted to create a custom receipt for this form, how would I go about creating the new receipt and connecting it to the form?
Thanks for any help.
The form is online here, set to OrderMode of test: https://coastalfisheries.org/fishforever/
Comment