| Author |
compare two values-email
|
|
| Mikeeusa 2006-03-21, 3:10 am |
| Have a form that requires an email address and other info. Almost everything
must be verified as to an entry. I have 2 text box's for the email address
and would like a method to have each entry compared/validated to match so as
to get a good email address. I have an apparently stand alone script that
will do the verification but knocks out the rest of the forms validation
process's.
I either need a way to accomplish this within the form OR if I have 2
seperate forms (1-email the other form info) and have the email auto entered
on the info form upon validation in the first form.
This make sense? I am wondering if using the FP webbot method for field
validation and other form properties is causing a conflict?
| |
| Stefan B Rusynko 2006-03-21, 3:10 am |
| You can not use customs scripts w/ FP validation
Best to remove the FP validation & do all your checking w/ your custom script,
or call your comparison script w/ an onblur in the 2nd email field
--
________________________________________
_____
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontP...53/Default.aspx
________________________________________
_____
"Mikeeusa" <Mikeeusa@discussions.microsoft.com> wrote in message news:52F29311-D9CC-4AEE-9582-718E06A16479@microsoft.com...
| Have a form that requires an email address and other info. Almost everything
| must be verified as to an entry. I have 2 text box's for the email address
| and would like a method to have each entry compared/validated to match so as
| to get a good email address. I have an apparently stand alone script that
| will do the verification but knocks out the rest of the forms validation
| process's.
| I either need a way to accomplish this within the form OR if I have 2
| seperate forms (1-email the other form info) and have the email auto entered
| on the info form upon validation in the first form.
| This make sense? I am wondering if using the FP webbot method for field
| validation and other form properties is causing a conflict?
| |
| Mikeeusa 2006-03-21, 8:02 am |
| Thanks, I had a feeling that I would have to do something like that. Not
experienced enough with scripting to do it myself at this point. But will do
some more self-educating on scripts. So your suggestion really means tearing
the whole form down and re-writing the validation areas myself and not using
the validation webbot in FP. I have been toying with taking a more structured
educational approach with scrpts (rather than my read and try method) and it
looks like I really need to bite the bullet and do it. FP makes web design so
brainless that I have become complacent in even my HTML skills. Kind of like
Windows and DOS.
Thanks again!!
"Stefan B Rusynko" wrote:
> You can not use customs scripts w/ FP validation
> Best to remove the FP validation & do all your checking w/ your custom script,
> or call your comparison script w/ an onblur in the 2nd email field
>
> --
>
> ________________________________________
_____
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.frontpagemvps.com/FrontP...53/Default.aspx
> ________________________________________
_____
>
>
> "Mikeeusa" <Mikeeusa@discussions.microsoft.com> wrote in message news:52F29311-D9CC-4AEE-9582-718E06A16479@microsoft.com...
> | Have a form that requires an email address and other info. Almost everything
> | must be verified as to an entry. I have 2 text box's for the email address
> | and would like a method to have each entry compared/validated to match so as
> | to get a good email address. I have an apparently stand alone script that
> | will do the verification but knocks out the rest of the forms validation
> | process's.
> | I either need a way to accomplish this within the form OR if I have 2
> | seperate forms (1-email the other form info) and have the email auto entered
> | on the info form upon validation in the first form.
> | This make sense? I am wondering if using the FP webbot method for field
> | validation and other form properties is causing a conflict?
>
>
>
| |
| AMysticWeb 2006-03-25, 11:38 am |
|
Here is a script example that might help. Wouldn't guarantee they used a
real address, but they would have to match.
http://frontpageforms.com/Double_%20Enter.htm
Mike Smith,
http://FrontPageForms.com
FrontPage Form Tutorials
& Form Script Examples
"Mikeeusa" wrote:
> Have a form that requires an email address and other info. Almost everything
> must be verified as to an entry. I have 2 text box's for the email address
> and would like a method to have each entry compared/validated to match so as
> to get a good email address. I have an apparently stand alone script that
> will do the verification but knocks out the rest of the forms validation
> process's.
> I either need a way to accomplish this within the form OR if I have 2
> seperate forms (1-email the other form info) and have the email auto entered
> on the info form upon validation in the first form.
> This make sense? I am wondering if using the FP webbot method for field
> validation and other form properties is causing a conflict?
| |
| Mikeeusa 2006-03-27, 8:39 am |
| Thanks Mike,
I found that one earlier and probably will try to insert it into my form
somehow. I just need to play with its validation process and the rest of the
forms validation process's upon submit. I don't seem to be able to just
simply insert it and go on my merry way as the main forms results must be
emailed and a results page generated for the user and the use of FP webbot
functions for emailing and saving fields seems to get in each others way. I
am going to play some more but just may need to get rid of the webbot
functions and return to a straight script.
"AMysticWeb" wrote:
[vbcol=seagreen]
>
> Here is a script example that might help. Wouldn't guarantee they used a
> real address, but they would have to match.
>
> http://frontpageforms.com/Double_%20Enter.htm
>
> Mike Smith,
>
> http://FrontPageForms.com
> FrontPage Form Tutorials
> & Form Script Examples
>
>
>
> "Mikeeusa" wrote:
>
| |
| AMysticWeb 2006-03-27, 8:39 am |
| One of the quirks about using FrontPage forms with a script like this is that
once you use FP validation, it will change the name of the form. So, that
means changing the name in the script where it appears so they will work in
conjunction.
Not sure if this is the problem you are having.
Mike Smith,
http://FrontPageForms.com
FrontPage Form Tutorials
& Form Script Examples
"Mikeeusa" wrote:
[vbcol=seagreen]
> Thanks Mike,
>
> I found that one earlier and probably will try to insert it into my form
> somehow. I just need to play with its validation process and the rest of the
> forms validation process's upon submit. I don't seem to be able to just
> simply insert it and go on my merry way as the main forms results must be
> emailed and a results page generated for the user and the use of FP webbot
> functions for emailing and saving fields seems to get in each others way. I
> am going to play some more but just may need to get rid of the webbot
> functions and return to a straight script.
>
> "AMysticWeb" wrote:
>
| |
| Mikeeusa 2006-03-27, 8:39 am |
| Seems like I did notice that a form named had changed from ....1 to ....2 in
my testing. That may be a problem alright. This week is buuzzyy so will let
you know how it goes later.
"AMysticWeb" wrote:
[vbcol=seagreen]
> One of the quirks about using FrontPage forms with a script like this is that
> once you use FP validation, it will change the name of the form. So, that
> means changing the name in the script where it appears so they will work in
> conjunction.
>
> Not sure if this is the problem you are having.
>
> Mike Smith,
>
> http://FrontPageForms.com
> FrontPage Form Tutorials
> & Form Script Examples
>
>
>
> "Mikeeusa" wrote:
>
|
|
|
|