How to use JavaScript with FP form

P

Peter Afonin

Hello:

I want to use a JavaScript function that validates the e-mail address in FP
form. This works great with any non-FP form. In Fronpage, however, I have
these problems:

If I use it like with the regular form: onsubmit="return
emailCheck(this.Email.value)" - it doesn't work;

If I use it like this: webbot-onSubmit="return
emailCheck(this.email.value);return FrontPage_Form1_Validator(this)" - it
works, but any other validation doesn't.

If I change the order like this: webbot-onSubmit="return
FrontPage_Form1_Validator(this); return emailCheck(this.email.value)" - all
other validations works, but my function doesn't.

How to use this JS function so both would work - the FP validation and JS
function?

I would appreciate your help.

Thank you,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top