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 require a web developer for simple website, We require a Web Developer f...

We require a Web Developer for simple website I need simple website Consist of PHP, JavaScript, HTML 5 Desired Skills are JavaScript, PHP, HTML5

Need help in directorypress customisation, Directorypress customisation ...

Directorypress customisation I need the following done- a) Styling changes for header b) Advanced search customisation (add location search and more) Desired Skills are

We need help in wordpress features development, We need help in Wordpress F...

We need help in Wordpress Features development We are utilizing a wordpress theme already we want to integrate this following features similar to this website 1) Loan calculator

Website programming for a previously designed website, Website programming ...

Website programming for a previously designed website This website is for a clothing and textiles design brand. Job Description - We're looking for a Web Developer. a) The

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

How can images be optimized for use on web pages, Question: (a) Write ...

Question: (a) Write the HTML tags for the following text: Software List A. Module 1 • Adobe Illustrator CS3 B. Module 2 • Adobe Photoshop CS3 C. Module 3 • Maya •

Inserting external media in the web page, Step 1: In the object tool bar cl...

Step 1: In the object tool bar click on the icon                            Or Insert -> Media -> select the media type to be inserted Step 2: Determine and select t

Need multi-language website of a retirement resort project, Multi-language ...

Multi-language website of a retirement resort project. I am seeking a website developer for a retirement resort project with the end in view of marketing the resort to worldwide

Need small five page website in wordpress, Small five page website in wordp...

Small five page website in wordpress (PSD I will supply of each page) I want to develop a small website in wordpress with required these tasks. I will source all pages design in

Need to create poker site with bitcoins, Need to create Poker Site with Bit...

Need to create Poker Site with Bitcoins We want to customize the poker software, we need it run both on web site (html5) and as desktop software -We want to customize Affilia

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