PDA

View Full Version : Can I adapt the validation javascript?



fripon
10-04-2009, 03:20 PM
I would like to switch the form validation text from English to German. Is this possible? Can I adapt the validation javascript?

MandyJay
10-04-2009, 03:31 PM
Hello,
I do not think you can change the FrontPage validation as you would then be changing the component and I am not sure the form would then work. All I can suggest is that you try it and see. But if some of the validation is hidden i.e. produced by FP and not actually visible in the coding, then I dont see how you can change it.

The alternative is to use a form script with built in validation that can be altered.

Sorry I am not being of much help here.

MJ

fripon
10-04-2009, 03:40 PM
Hi MJ,

Thanks for your reply.

Do you know where I can find the validation script? Here is part of the FrontPage-generated Code:

<form method="POST" action="--WEBBOT-SELF--" onSubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">

Or is it hidden?

Daniel

MandyJay
10-04-2009, 03:59 PM
Hi,
If you don't see it in the code then you can't access it I am afraid. I stopped using FrontPage forms a while back especially now as support for FrontPage has stopped and some hosts get rid of the Extensions which are required for FP forms to work, although they would continue to work on Windows Servers .... so I am a bit scanty on the knowledge of FP forms nowadays .... but check out this google link (http://www.google.co.uk/search?sourceid=navclient&ie=UTF-8&rlz=1T4GGLL_enGB340GB340&q=validate+FrontPage+form)as it has quite few results on validation, you may find just what you want.

MJ

fripon
10-04-2009, 04:13 PM
Hi,

Thanks for your reply and the link. I've already checked out all the sites but without success.

Can you recommend any good form websites?

Daniel

MandyJay
10-04-2009, 04:27 PM
Sounds like then it is not possible, that is a shame.

Forms .... do a google for "online generator form validation" or similar. there are many online generators for forms and quite a few have validation with them. Or do a similar search for script instead of online generator, then you can select the one that suits your needs best.

If you are on windows server then this is a fairly new online generator which covers anti spam and validation http://www.ctrfx.com/form/customize.aspx

Here is one based on CSS with anti spam and validation .... I have not used it but it came highly recomended
http://www.talkfrontpage.com/showthread.php?t=9640

both those scripts can be translated.

Hope that helps

MJ

fripon
10-04-2009, 04:33 PM
Hi,

Thanks so much for your help.

Will give your recommendations a try.

Daniel

MandyJay
10-04-2009, 04:35 PM
Hope they work out for you ....
Cheers
MJ

fripon
10-04-2009, 04:41 PM
Will do my best ;-)

Bye

Daniel