JavaScript CookBook/Validation/Marking a field as required

From GeoMedia Smart Client
Jump to: navigation, search
GMSC 2013/2014 Javascript API Overview Form Events Types Utility Functions client-side Validation Conditions Interaction with SmartClient Cookbook Cheatsheet

Marking a field as required

Problem: You want to prevent the user from submitting a form without completing required fields.

Solution: You can use the required="true" attribute in the <FormField> section.

Other Recipes in this category: