PDA

View Full Version : Why do I have use tab key in forms?


mwood00
06-17-2012, 02:27 AM
Hello, I'm having to use the tab key to use the forms I create in Dreavweaver CS4. How can I stop this? Right now, you have to use the tab key to navigate the forms fields, you can't simply click in the field. How can I stop this? No special code, simply the dreamweaver form. Any help is appreciated. Thanks!

Corrosive
06-18-2012, 07:02 AM
Would be useful to see a page please.

mwood00
06-18-2012, 03:36 PM
Here is the link to the form:

http://www.xmcampaign.com/hopfinal-site/landing.aspx

Corrosive
06-19-2012, 08:11 AM
Well I've never seen that before :confused: Even looking through your code doesn't give me much of a clue. I'd imagine it is something in the Spry validation but I have no idea what. Sorry.

domedia
06-19-2012, 01:38 PM
Turn off JavaScript and the form works fine :)

mwood00
06-19-2012, 02:08 PM
Turn off JavaScript and the form works fine :)

Turn javascript off in the browser? Can java be turned off in the dreamweaver aspx page if the java is needed for the page?

Corrosive
06-19-2012, 02:18 PM
Nope, you may have to find another method for form validation. Check out some JQuery options instead.

mwood00
06-19-2012, 02:45 PM
Here is a another form I created in Dreamweaver that works correctly. What's the difference in this form that works and the form that doesn't?

Form that works link:
http://www.gardenspree.com/arg/landing

mwood00
06-19-2012, 05:58 PM
This doesn't make sense, but I added an "* " (asterisk and space) before each form field. Now I can click in each field. Without the asterisk and space you can't click in each field and the curser pops to the first field every time and the tab key only works. Can this be explained? Here is the link to the page: http://xmcampaign.com/hop/landing.aspx

domedia
06-19-2012, 06:52 PM
It's in your Spry Javascript (Not Java..).

If you're not comfortable with Spry, I would not use it. I don't think anyone here use it (anyone?).

mwood00
06-19-2012, 07:18 PM
Thanks for all the info.

In order to have a forced phone number pattern used I use the Spry Validation in Dreamweaver. Is there another option within Dreamweaver or some basic code I can use instead? I do some basic code but I use Dreamweaver for most of it, if I need to find a code chart I'll give it a try. Any good code charts to use on a form for forced phone number patterns?

edbr
06-20-2012, 02:13 AM
http://www.xmcampaign.com/hopfinal-site/landing.aspx is working now. well done

mwood00
06-20-2012, 03:39 AM
Thanks edbr, I just wish I fully understood why it's now working. :?:

edbr
06-20-2012, 04:13 AM
me too, it must be an error in setting it up i think but like corrosive, i can't see it