prevent form submission?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2015 04:25 AM
i am writing a client script which will give a alert when same email id is present already in the table. But when I am submitting the form it is allowing the user to submit.
I want to prevent the submission of form if same email id is present?
I am writing a client script and script include for that which is client callable. I am checking the existing email ID with the help of gr.addQuery() in script include.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-08-2015 05:01 AM
hello Pradeep and Kalaiarasan actully my script include is in global scope and my client script is in application scope. When I am using getXMLWait() it is giving me the error message as acces to getXMLWait() is not allowed in your application scope.
Should I write my client script and script include in same scope?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2017 05:58 AM
getXMlWait doesnt work i nscoped application , alternative is getXMLWait. even though it works after returning false still form is getting submitted.
Is this something bug in scoped application David.Gatley