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

Need ajax experienced expert as well as expert developer, PrestaShop | PHP ...

PrestaShop | PHP | JavaScript | jQuery Developer needed Want a PrestaShop | PHP | JavaScript | jQuery | Ajax experienced as well as expert developer. Following things want to be

We are in need of javascript developer for game-changing, We are in need of...

We are in need of JavaScript Developer for game-changing Language App VidaLingua is the number one developer of multilingual dictionaries for mobile. Our apps are category leade

We need to create web chat application, We need to create Web Chat Applicat...

We need to create Web Chat Application Please read project requirements- general info- Its web chat application which supports audio as well as video chat - I do not want

Include html tags in the email from the php script, For example, Use HTML, ...

For example, Use HTML, to make the content of the message bold red-colored text.   You can Google this issue to learn how to do this in PHP.  It might (or might not be helpful) to

Seeking an experienced web programmer/developer, Design as well as Develop ...

Design as well as Develop New Website Joomla 3.2 MUST Seeking an experienced web programmer/developer Type of work required - IT & Programming > Web Programming Seeking an

I need help for website design and development, I need help for Website Des...

I need help for Website Design and Development Required Looking for a talented and experienced designer and developer for a new website. The site is a combination of social netw

Database authorization, Use a database table Authorization as shown below...

Use a database table Authorization as shown below with appropriate choice of data types .  This table must be populated by you manually using the PhpMyAdmin interface to MySQL.

Need help in google map interface, Need help in Google map interface Sum...

Need help in Google map interface Summary- Highpoint streets on Google maps using colours that depend on the score those streets receive in my data Details: I want to map fiv

Want html/css templates created from layout images not psd, Want HTML/CSS t...

Want HTML/CSS templates created from layout images (not PSD). Responsive. Greetings I have a want for a GREAT HTML/CSS developer that understands responsive CSS also. I have fou

I need a one webpage coming soon, I need a one webpage Coming Soon I wou...

I need a one webpage Coming Soon I would like one page design to so message like coming soon. a) Left Video player I provide you the code. b) Right Contact info c) Face

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