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 desire help in web site development, We need help in web site developmen...

We need help in web site development I need a developer to replicate a site for me. This will need the developer to setup an account as well as engage in to the site understandi

I need help in wordpress to fix template theme luxe miinus, I need help in ...

I need help in Wordpress to fix template Theme Luxe Miinus I need changes made to the following pages a) Footer b) Development page, Projects Page, About Page - These are

Need php help to fix oscommerce attribute price problem, Need help to Fix o...

Need help to Fix oscommerce attribute price problem I want the customer to be able to choose a quantity of any product on my oscommerce website. For example a product cost $10.

Develop wiconstellation web site, Project Description: Develop a dynamic...

Project Description: Develop a dynamic corporate WEB site with administration panel, requirement collaboration, product definition, Q&A, user management. Skills required are

I need a wordpress expert, I Need a wordpress expert I am observing to e...

I Need a wordpress expert I am observing to establish a long term relationship with a WordPress expert. This is the first project which will have to be a basic theme website fro

Wordpress plugin for capture vehicle photos, Wordpress Plugin Capture Vehic...

Wordpress Plugin Capture Vehicle Photos and description create video, submit to YouTube Project Description: I want to prepare a web based automated software program that wil

I am seeking a long term wordpress developer, WordPress Developer - Long Te...

WordPress Developer - Long Term I am seeking a long term WordPress developer. We will start with a test project. You have to develop a WordPress theme from scratch. Note-

Dial-up connection, O ne of the commonest ways of connection to Internet is...

O ne of the commonest ways of connection to Internet is by dial up connection via a modem & a telephone line. Using these you can link to a host machine on the Internet. Once linke

Wed need a wordpress and php developer needed monthly, Wed need a Wordpress...

Wed need a Wordpress and PHP developer needed monthly I want a developer that will be paid on a monthly basis to do miscellaneous as needed tasks on already developed websites.

What is php, What is PHP? PHP: Hypertext Pre-processor is open source s...

What is PHP? PHP: Hypertext Pre-processor is open source server-side scripting language which is widely used for web development. PHP scripts are executed on server. PHP allows

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