FP forms question

  • Thread starter Thread starter shror
  • Start date Start date
S

shror

hi,
I want to add a form in my website that contains a password field and
a password confirmation is this possible to add a textbox that give
alert if the confirmation data are not the same as the main password
filed.

example 1,
password: 1234
confirm: 1234

by sending this is sent

example 2,
password: 1234
confirm: 123

by sending this is not sent and gives alert message
 
It's possible, but it's a JavaScript function that is not a native tool to
FrontPage.

Try one of the free javascripts sites for a sample of how to do that.
 
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
if (document.kontakt.frmPersnr.value=="") {
alert("Write your comment here!")
return false
}
if (document.kontakt.frmTelefon.value=="") {
alert("Write your comment here!")
return false
}
if (document.kontakt.frmKontakt.value=="hello") {
alert("Write your comment here!")
return false
}
return true
}
// End -->
</SCRIPT>
 
Thanks for your answer.

shror
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!!http://javascript.internet.com-->

<!-- Begin
if (document.kontakt.frmPersnr.value=="") {
alert("Write your comment here!")
return false}

if (document.kontakt.frmTelefon.value=="") {
alert("Write your comment here!")
return false}

if (document.kontakt.frmKontakt.value=="hello") {
alert("Write your comment here!")
return false}
return true
}

// End -->
</SCRIPT>

"shror" <[email protected]> skrev i meddelandet







- Show quoted text -
 
Back
Top