Kreative Flow Designs
Thanks for visiting Kreative Flow. You'll recieve the best tutorials, resources and graphic information here.

Do register if you are a guest for exclusive content only for members!


Form Validation | How to!

View previous topic View next topic Go down

Form Validation | How to!

Post by Adil on Sat 14 Mar 2009, 10:24 am

Want to validate your form but don’t know any Javascript coding? Don’t worry, Dreamweaver can help you with this. Dreamweaver comes with a form validation Behavior allows you to validate your form without any Javascript knowledge.

All you need is a form and couple of mouse clicks. This tutorial should takes less than 10 minutes.


Click here for a demo!

1. Form


I assume you have your HTML form ready. If not, you can use my sample form.




2. Name your fields


In order to validate your form, you need to give a proper name to each field. Name your fields as follow: Name, Email, Phone, and Comments.



3. Validate form

Select the ‘Send’ button. Go to Window > Behaviors to active the Behaviors pallete. Click on the plus [+] icon and select Validate Form.





Form Data

Now you should see all the fields in the form: Name, Email, Phone, Comments.

* Select ‘Name’, check Required, Accept = Anything (anything means any key/character).
* Select ‘Email’, check Required, Accept = Email address
* Select ‘Phone’, check Required, Accept = Number
* Select ‘Comments’, check Required, Accept = Anything
* * if you do not want to make the field as required, uncheck Required





Done!

Tutorial from ndesign! Wink

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: Form Validation | How to!

Post by ueda-hime on Sat 14 Mar 2009, 9:01 pm

woah sweet
but im guessing u need a host thats not like forummotion to set up forms like these?
avatar
ueda-hime
Gold Member
Gold Member

Number of posts : 117
Flow Points : 102
Reputation : 0
Warnings :
0 / 1000 / 100

Mood :

View user profile http://ueda-hime.forummotion.com

Back to top Go down

Re: Form Validation | How to!

Post by someoneinsane on Sat 14 Mar 2009, 9:07 pm

This is an HTML form, which means you can use it on anything.

_________________

avatar
someoneinsane
Top Poster
Top Poster

Number of posts : 789
Flow Points : 852
Reputation : 9
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Form Validation | How to!

Post by Null-11 on Sun 15 Mar 2009, 1:47 pm

Very nice tutorial. I'm going to use this right now actually. I've been looking for this. Very Happy

P.S. You shouldn't hotlink the images. Maybe upload them to imageshack and link to those. Wink
avatar
Null-11
Member
Member

Number of posts : 42
Flow Points : 22
Reputation : 0
Warnings :
0 / 1000 / 100

Mood :

View user profile http://addmyforum.org/forum/

Back to top Go down

Re: Form Validation | How to!

Post by Adil on Sun 15 Mar 2009, 2:03 pm

Null-11 wrote:Very nice tutorial. I'm going to use this right now actually. I've been looking for this. Very Happy

P.S. You shouldn't hotlink the images. Maybe upload them to imageshack and link to those. Wink

cool Smile ... Why not?

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: Form Validation | How to!

Post by Matthew on Thu 19 Mar 2009, 1:45 pm

Thanks for this, very useful. I was using a standard HTML form but this is much better Wink

Matthew
New Member
New Member

Number of posts : 17
Flow Points : 23
Reputation : 0
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Form Validation | How to!

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum