Dreevoo.com | Online Learning and Knowledge Sharing
Home | Programs | Adobe Dreamweaver | Navigation | Specify the Validate Form behavior in Dreamweaver
Click to view your profile

Specify the Validate Form behavior in Dreamweaver

The Validate Form behavior checks the contents of specified text fields to ensure that the user has entered the correct type of data.

  Author: bole | Version: CS5 | 5th December 2013 |  

Open new HTML document.


Click Forms and select Text Field.

At Input Tag Accessibility Attributes click OK and at Add form tag? click Yes.


First input field is created. Select it.


Under Properties at TextField write Name.


Create new TextField and at TextField write Email.


Click Button icon.


You have created a basic form.

Now click on a Submit button.


At Value field write Send. You can add any Values also for previous input fields.


Now click <form#form1> below to select the whole form.


Click Add behavior icon...

If you dont' see it press Shift + F4.


...and select Validate Form.


At Fields field select input "Name" (R). At Value field below mark Required.


Repeat the procedure for all other forms.

In my case there is only one left.

Click OK.


Save the document (Ctrl + S) and press F12 to see the page.

Don't enter anything just click on the button.


Warnin window has opened, because you didn't enter anything.


If you want to change the text of the warning click Show Code view.


HTML and JavaScript code shows up.

Find The following error(s) occured: code and change it.

I wrote "Please enter Username and e-mail address".


Save the document (Ctrl + S) and press F12.

You can see that the text is changed.

Also recommended:

  Please login to post a comment
  Click to open user profile  
propharmacyst, 26th Jan 2023, 11:08 AM
A drug for sexual dysfunction, Fildena Double 200 mg has a success rate of over 80%. The largest dosage of Sildenafil for this drug is present in it, at 200 mg. Only men who have tried lower dosages and failed at them are advised to use it. It should only be taken under the guidance of a healthcare expert due to the high dosage. Anxiety, sweating, and migraine are typical adverse effects. Altogether, 200 mg of Fildena Double is a strong drug that can help men get and keep an erection, but it should be used with care. Visit at: https://propharmacystores.com/product/bu....
  Click to open user profile  
thefansbuzz, 19th Feb 2023, 7:54 PM
The idea of social media marketing is to create content and generate leads on social media sites such as Facebook, Twitter, and LinkedIn. However, creating content for these sites can be challenging for marketers. This is where Top Smm Panel services come in. With these services, you get a panel of people who will post and share your content on their own social media pages. This means that you can focus on other tasks and work on your own marketing strategy. Visit our website at: https://thefansbuzz.com/
  Click to open user profile  
animalcriteri, 30th Oct 2023, 5:56 AM
This is an amazing and informative article that covers so much ground. https://mariogames.io
  Click to open user profile  
wintercurrant, 1st Nov 2023, 5:27 AM
The video game Geometry Dash World is a two-dimensional platformer in which players take control of a square that must make it to the conclusion of a number of stages while avoiding a large number of obstacles along the way. https://geometrydashworld.net
  Click to open user profile  
mikasa, 1st Nov 2023, 10:53 AM
With the help of Wordle Unlimited, players can enjoy an infinite amount of word-guessing challenges by extending the fundamental Wordle concept. https://wordleunlimited.online/
  Click to open user profile  
livescupper, 2nd Nov 2023, 10:12 AM
Take the https://snake-game.io
  Click to open user profile  
helendam, 2nd Nov 2023, 10:20 AM
Engage in the challenge of achieving the highest score in https://suikagameonline.com , where every strategic decision and skillful merge is a testament to your gaming finesse and expertise, setting new records and paving the way for a gaming legacy that will stand the test of time.
  Click to open user profile  
Easy smm pane, 8th Nov 2023, 11:11 AM
For people and companies looking to improve their online visibility and interaction on several social media platforms, the https://bulkfollows.com/ offers social media marketing services at a reasonable price.

  Click to open user profile  
smmpanel001, 17th Nov 2023, 10:40 AM
As a digital marketer in today's fast-paced online landscape, https://smmpakpanel.com panels have become an integral part of my daily routine. These panels, short for Social Media Marketing panels, have revolutionized the way I manage and optimize my social media presence.
online learning made for people