on 03-28-2013 9:09 AM
Hi All ,
I am working on an adobe form where i have to validate a checkbox when user clicks submit . below is my code can anybody help me with the answer
this is for the onclick action of the submit button lang is JS
if ( checkbox.rawvalue !== 1 ) ; {
" some message } {
app.eval("event.target.SAPSubmit();"); }
Code works fine if i use "app.eval("event.target.SAPSubmit();");" indivudually and validation seperatly issue is when i try to put validation and submission .
thans in advance
Kishore
solved my self
solution- remove semicolon
script - javascript
if ( checkbox.rawvalue !== 1 ) {
" some message" } else {
app.eval("event.target.SAPSubmit();") }
NOTE- importing webdynproscript from utilities is mandatory .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.