Form target attribute, PHP Web Programming

Assignment Help:

Corresponds to the FORM TARGET attribute.

• Text - It is an object representing a text field.

• Text area - It is an object representing a text area field. Some of the Form Element Properties are:

• Name - It provides access to an element's name attribute. It applies to all of the form elements.

• Type - it is for identifies the object's type. It applies to every form elements.

• Value - it is for identifies object's value. It applies to all checkbox, hidden, button radio, submit, password, reset, text or textarea.

• Checked - This is for identifies whether the element is checked. It applies to checkbox & radio only.

• Default checked - This is for identifies whether the element is checked by default. This applies to checkbox & radio only.

• Default value - it is for identifies the object's default value. It applies to submit, password and textarea.

• Length - This is for identifies the length of a select list. This applies to select.                                             

• Options - An array which identifies the options supported by the select list. It applies to select.

Syntax : <FORM Name = "myform" Action = "mailto:[email protected]" Method               

= POST Ectype = "multipart/form-data" on submit = "return check ( )" >                                  

<HTML>                                                                                                                                           

<HEAD>

<SCRIPT LANGUAGE = "javascript">                                                                                         

function check ()                                                                                                                               

{ if (document.myform.email.value  == "") {

alert("please enter your email-id");                                                                       

return false; }                                                                                                         

}                                                                                                                                            

</SCRIPT>                                                                                                                                       

</HEAD>                                                                                                                                           

<BODY>                                                                                                                                          

Enter your Email to subscribe : <p>                                                                                                

<FORM Name = "myform" Action = "mailto:[email protected]" Method = POST

Enctype = "multipart/form-data" onsubmit = "return check()" >                                                   

<Input type = "text" Name = "email">                                                                              

<Input type = "submit" value = "submit">                                                                        

</FORM>                                                                                                                                         

</BODY>                                                                                                                                          

</HTML>                                                                                                                                         

 

The above code is utilized for obtaining the user's email-id. In case the user clicks on to the submit button without entering the email-id in the wanted text field, he sees a message box represent ting that the email-id has not been entered.


Related Discussions:- Form target attribute

We need help in website developer and programmer, We need help in Website D...

We need help in Website Developer/Programmer for Fashion Tech Company London based applications only We are in search of a Website developer/programmer to make the site for u

Confirm boxes, The JavaScript confirm alert box differs through a regular a...

The JavaScript confirm alert box differs through a regular alert box in which it provides two choices to the user, OK & Cancel. Typically, you'll see confirmation boxes utilized on

Need joomla upgrade, Joomla Upgrade It has come to our attention that yo...

Joomla Upgrade It has come to our attention that you have at least one installation of Joomla 1.5.x - 2.5.16. The 1.5.x version has been deprecated by Joomla for over a year,

Need help in a spree specialist, Spreecommerce job (RoR) Want a Spree sp...

Spreecommerce job (RoR) Want a Spree specialist Objectives- 1) To integrate the custom theme (html mark-up need) 2) Slightly change the basic Spree functionality 3)

I want a simple wordpress blog, Wordpress blog I want a simple Wordpress...

Wordpress blog I want a simple Wordpress blog with the ability to upload articles in addition pics by myself. It want to be something like that - beside the articles I need sect

I need expert wordpress template developer, I need expert Wordpress Templat...

I need expert Wordpress Template Developer I have a website design I would like to turn into a wordpress template. Specifications- Responsive - One page - two scroll - Cou

I need help in create static html pages, Create Static HTML Pages We are...

Create Static HTML Pages We are a travel search engine provider placed in Germany. We are probing for a developer who can create a bunch of static HTML pages for connections amo

Need help to create apartment available rooms website, Apartment Available ...

Apartment Available Rooms Website I would like to build a website that permits apartments to register their facility online by registering on my site for a monthly fee. I would

Text-only web browsers, Text-only browsers: A text-only browser like Ly...

Text-only browsers: A text-only browser like Lynx let you to view Web pages without showing art or page structure. Fundamentally, you look at ASCII text onto a screen. The bene

Need help in ruby or python developer, Need help in Ruby or Python develope...

Need help in Ruby or Python developer with knowledge of MySQL and AWS for proof of concept Needs description our start up is in search of a back-end developer to create a min

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd