-
Notifications
You must be signed in to change notification settings - Fork 12
Server Side Validation
You can validate your forms on the server-side if you need stronger security.
First create a server action, which will use your form and click Globals:
In the linked page field browse to your page, containing the form:
Then, open the form menu and select your form. NOTE that if you don't see your form here, most probably it does not have an ID or NAME, so fixing this will make it appear:
Then click the Import From Form button:
This imports the form fields under the POST vars. It also imports the client-side validation rules which you have applied to them, so you won't have to add the same validation rules again for the server-side:
Selecting a form input under POST will show its validation rules:
You can add more validation rules by clicking add validation rule button:
Select any of the categories:
And then select a rule to be applied:
You can also export server-side validation rules to the client-side (to your form) by clicking the export validations to form button. Auto export on save is also available:
© Wappler 2018
- Home
- Getting Started
- How-to Guides
- Project Manager
- Bootstrap 4 Visual Designer
- Image Galleries & Animations
-
Server-side Components
- Connecting to a Database
- Creating Database Queries
- Binding Data on the Page
- Formatting Dynamic Data
- Filter Data with Text Input
- Filter Data with URL Param
- Dynamic Select Menu
- Dynamic Sortable Table
- Dynamic Paging
- Server Side Includes (SSI)
- Insert Database Record
- Get Inserted Record ID
- Delete Database Record
- JSON Data Sources
- Send Form to Email
- Debugging Problems
- Security & Login
- Form & Data Validation
- Notifications & Alerts
- Mobile Apps