Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Jake #1
Form validation
Hi all,
I am using form validation to authenticate users. In the web config file I
secure a page that has only the following statement:
response.writeFile(page.mapPath("..\attachments\We b Resume.doc"))
Even thought the user has loged in, when this statement executes the user is
redirected to the user logon page. And the file in the response.writeFile
statement is not secured, so I can not determine what causes the redirect.
Any ideas as to what causes this?
Thanks in advance
Jake
Jake Guest
-
Form Validation - Can this be done?
I have a form with several dropdown menus. One dropdown menu has two options yes - no Depending on which option is selected, i want the following... -
CFFORM Validation trumping Custom Form Validation
Is there any way for custom form validation to work in concert with the cfform validation? I have a custom script that compares the values of two... -
form validation in asp.net
I want to verify that a email has been entered in a simple asp.net form that is being sent as an email. I found the RequiredFieldValidator Tag is... -
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome?
I have a web form with several fields. If I copy & paste from a RTF document into a field, the javascript validation and field length are bypassed... -
get rid of form validation
I added form validation in MX and then deleted some form fields, so needed to change the validation behavior. I deleted the On blur from the... -
zeb webforumsuser@macromedia.com #2
form validation
Hello:
I want to validate e-mail field in my form in such a way that if some one eters an email address ending with @hotmail.com or @yahoo.com then on submiting the form it gives error message.
Is there any extension available? please help me.
Thanks in advance
classna
zeb webforumsuser@macromedia.com Guest
-
mrjansuh #3
Re: form validation
Check out this site, just see how they did it, learn from it, work it into your site.
[url]http://developer.netscape.com/docs/examples/javascript/formval/overview.html[/url]
Goodluck!
Robert Jansen
mrjansuh Guest
-
cheektech #4
Form Validation
I have a questionnaire form, each question is in it's own layer. I have one
question with a Yes/No boolean (radio button) and if the user selects Yes it is
show the LayerName layer and if No show the LayerThankYou function. How do I
get this to work? Also, each layer has an Enter button to move to the next
question. I do not have the enter button submitting that question's
information to the database, rather they are set to NONE with all of the layers
within one large form field and a Save Questionnaire button at the bottom of
the page to submit all of the results to the database. Should each question's
ENTER button be a submit form? Code for Yes/No is as follows: { if
(document.theForm.OptAnotherDR[0].checked)
document.theForm.LayerThankYou.focus(); return (false); } { if
(document.theForm.OptAnotherDR[1].checked)
document.theForm.LayerName.focus(); return (false); } return (true); }
cheektech Guest
-
tda2 #5
form validation
I have recently ran into an issue with Dreamweaver standard validation and
Yaromat Check Form MX validation. Neither are working correctly. When I add
validation to a form, then go fill it out - the form does 1 of two things
happen depending on which browser I am using (IE, Firefox, Netscape). Either
the required pop up box doesn't list all required fields that I have checked or
it will list them but when those fields are filled out it still pops up the
required fields box and says they haven't been filled in. I have been doing
this for many years and have just recently ran into this problem on 2 sites
that I am working on. Any thoughts would be greatly appreciated.
tda2 Guest
-
Ad Bec #6
Form validation
Can you please see why this form won't validate on submit. It is generated by
the CFForm tag. Never had a problem like this before.
[url]http://www.amplecom.com/new/?products=productDemo&product=ampleShop[/url] You
can se the same problem with the short form on the test page:
[url]http://www.amplecom.com/new/test.cfm[/url] Please enable script debug in IE. Thanks!
Ad Bec Guest
-
blewis #7
Re: Form validation
Using the JS console in Firefox, it reports:
Error: _CF_hasValue is not defined
Source File:
[url]http://www.amplecom.com/new/?products=productDemo&product=ampleShop[/url]
Line: 173
So the CF function _CF_hasValue is not defined. This seems to be occuring
because the included JS library cannot be found. You will notice in the
rendered output there is:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="/CFIDE/scripts/cfform.js"></SCRIPT>
Try accessing that JS source and it will return a 404, so you probably have a
mapping problem with the CFIDE dir.
Bryan
blewis Guest
-
Ken Ford - *TMM* & PVII #8
Re: Form validation
[url]http://www.macromedia.com/go/tn_18653[/url]
--
Ken Ford
PVII Support Team
[url]http://www.projectseven.com[/url]
Team Macromedia Volunteer - Dreamweaver
Certified Dreamweaver MX 2004 Developer
"Ad Bec" <webforumsuser@macromedia.com> wrote in message news:d1kubo$rjb$1@forums.macromedia.com...> Can you please see why this form won't validate on submit. It is generated by
> the CFForm tag. Never had a problem like this before.
> [url]http://www.amplecom.com/new/?products=productDemo&product=ampleShop[/url] You
> can se the same problem with the short form on the test page:
> [url]http://www.amplecom.com/new/test.cfm[/url] Please enable script debug in IE. Thanks!
>
Ken Ford - *TMM* & PVII Guest
-
Aquanaut #9
Form Validation
I'm struggling with the forms functions in DWMX. If I ask a behaviour to make
a form field mandatory, I click on the form and tab from field to field down
the form the MM and Yaromat behaviours pick up that theres no data being
entered with a nice error box and then allows the cursor onto the next field
ignoring the error. Is there a way to make the cursore return to the field the
error was detected in? I assume its some form of 'form.focus' command. I
wonder maybe if theres a more comprehensive form validation extn out there -
suggestions anyone Many Thanks Jerry
Aquanaut Guest
-
arusmart #10
Re: Form Validation
Use " fieldname.blur" and your validation search in google you will get lot
arusmart Guest
-
Paul Whitham TMM #11
Re: Form Validation
I very must doubt that there is one in javascript because the issue would be
if a page had multiple validation errors the page would not know which field
to give focus to.
--
Regards
Paul Whitham
Macromedia Certified Professional for Dreamweaver MX2004
Valleybiz Internet Design
[url]www.valleybiz.net[/url]
Team Macromedia Volunteer for Ultradev/Dreamweaver MX
[url]www.macromedia.com/support/forums/team_macromedia[/url]
"Aquanaut" <jerry@thedemocentre.com> wrote in message
news:d3qsem$cm5$1@forums.macromedia.com...make> I'm struggling with the forms functions in DWMX. If I ask a behaviour todown> a form field mandatory, I click on the form and tab from field to fieldfield> the form the MM and Yaromat behaviours pick up that theres no data being
> entered with a nice error box and then allows the cursor onto the nextfield the> ignoring the error. Is there a way to make the cursore return to thethere -> error was detected in? I assume its some form of 'form.focus' command. I
> wonder maybe if theres a more comprehensive form validation extn out> suggestions anyone Many Thanks Jerry
>
Paul Whitham TMM Guest
-
beneboy9 #12
Form Validation
Can someone please help me to validte forms what I would like is the errors to show up on the same page.
:confused;
Thanks Ben
beneboy9 Guest
-
Manuel Socarras #13
Re: Form Validation
you have in DW a behavior to validate forms; it shows errors in a pop-up
window
beneboy9 wrote:> Can someone please help me to validte forms what I would like is the errors to show up on the same page.
>
> :confused;
>
> Thanks BenManuel Socarras Guest
-
beneboy9 #14
Re: Form Validation
I know that you can do that i would like the errors to show up beside the problem input box. on the actul page not in a alert box.
beneboy9 Guest
-
Manuel Socarras #15
Re: Form Validation
aaaah! i guess you cant have the errors texts hidden and make it visible
using JS.
where? well, one option would be in layers but perphaps you'll have
problems with position them correctly in different browsers. not sure,
but probably CSS will be an option. do a research meanwhile an expert in
that subject like Paul Whitham have something to say
beneboy9 wrote:> I know that you can do that i would like the errors to show up beside the problem input box. on the actul page not in a alert box.Manuel Socarras Guest
-



Reply With Quote

