appz attribute to your HTML form.
HTML Forms
Integrate an HTML form into your site using either adata-appz="true" or an appz attribute within the <form> tag. Deploy your site with this form, and you will start receiving submissions through your Appz site administration panel.
The name attribute of your form determines its identification in the Appz UI. If your site hosts multiple forms, ensure each one has a unique name attribute.
Below is an example of how to utilize either the data-appz="true" attribute or the appz attribute in your form:
- Form with data-appz attribute
- Form with appz attribute
data-appz="true" or appz attribute from the <form> tag and injects a hidden input named form-name. In the HTML that is deployed, the data-appz="true" or appz attribute will be removed, and the hidden form-name input will have a value that corresponds to the name attribute of the <form> like this:
Success Messages
When visitors successfully submit a form on your site, they are typically redirected to a default success page. This page often displays a basic, generically styled success message along with a link that directs users back to the form page.
Custom Success Page
To enhance the user experience, you can create a custom success page to replace the default one. This involves modifying the<form> tag to include an action attribute. This attribute should contain the path to your custom success page, which must be relative to the site root and prefixed with a /. Here is an example: