Solved
AEM forms and javascript
Hi I m new to AEM forms, Please can you tell me how to create a basic form with two fields and a validate button.
Requirnment : Validate button will check whether both fields left blank by using javascript.
Hi I m new to AEM forms, Please can you tell me how to create a basic form with two fields and a validate button.
Requirnment : Validate button will check whether both fields left blank by using javascript.
Sorry, but this.value != "" isn't a good validation (see here on page 18).
You better use
this.rawValue !== null;
or the built-in method isNull() to check a fields value against null.
this.isNull();
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.