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

Usenet and newsgroups, On Internet there exists another way to meet people ...

On Internet there exists another way to meet people & share information. One of such way is through Usenet newsgroups. These are special groups established through people who want

I need help in erp/manufacturing website, I need help in ERP/Manufacturing ...

I need help in ERP/Manufacturing Website Seeking an internal-use ERP/Manufacturing Website developed for use at a Paper Mill. Modules/areas would comprising Customers, Sales Ord

We are seeking a php web developer, Web Developer - PHP & MySQL We are s...

Web Developer - PHP & MySQL We are seeking a PHP Web Developer who has strong MySQL skills as well as who will be responsible for the design, development and deployment of custo

Programming, how to make a Content Management System

how to make a Content Management System

What are the different types of runtime errors in php, Question: (a) W...

Question: (a) What are the different types of Runtime Errors in PHP? (b) What are the differences between GET and POST methods in form submission? Briefly explain in

How to work in dreamweaver, Where & how to open Dreamweaver? Step 1: Cli...

Where & how to open Dreamweaver? Step 1: Click on Start button Step 2: choose Program Step 3: Choose Macromedia Dreamweaver Step 4: Click on Dreamweaver You will get

We need help to develop online tax accounting software, We need help to dev...

We need help to develop Online Tax Accounting Software I am seeking a programmer and web designer who has experience to create a website where customers can log on to the websit

Need help for matrimonial website on socialengine php, Need help for Matrim...

Need help for Matrimonial Website on SocialEngine PHP We are in the procedure of creating a matrimonial website using the SocialEngine PHP. This site is hypothetical to have all

Selecting columns in mysql by by keying in a number, How do I select lets s...

How do I select lets say 2columns eg(Name and Payment plan)when I type in a a telephone number like 665528 to get the one row corresponding to the number I have typed?

Developer to build a custom made interactive gaming website, Interactive Ga...

Interactive Gaming Website I want a developer to build a custom made interactive gaming website. Requirements will be from- a) website design b) gaming app design c) da

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