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

Transport layer of osi model, Transport layer is the first end-to-end layer...

Transport layer is the first end-to-end layer. Header of the transport layer has information which helps send the message to the corresponding layer at the destination node. The me

Medical data mining, diffierence between ID3 and naive bayes alogrthim

diffierence between ID3 and naive bayes alogrthim

Aesthetics in web design, This is a 10-minute presentation on Aesthetics in...

This is a 10-minute presentation on Aesthetics in Web Design as part of Interaction Design Class (Human Factors Course) - This is a Graduate Level Course. The grading criteria are

Develop a javascript code to generate a pull down menu box, 1. Develop...

1. Develop a program to display a multiplication table. 2. Develop a code to generate a scrolling text in a text box. 3. Develop a JavaScript code to generate

Html5 based txt/csv data file charter, HTML5 Based TXT/CSV Data File Charte...

HTML5 Based TXT/CSV Data File Charter In search of a web developer to create a HTML5/JavaScript based web application to import tab delimited or comma separated information from

I need web scrapers written, I Need web scrapers WRITTEN I have five sit...

I Need web scrapers WRITTEN I have five sites (very simple) whose web scrapers I need written ASAP. I am seeking for someone who can start IMMEDIATELY as well as work on this fo

Develop online bag store using ecommerce solution, I have built my online b...

I have built my online bag store using eCommerce solution which is very same to WordPress. I am looking for someone who has experience of adding features to eCommerce solutions. I

Modify auth on code igniter for cakephp, Modify auth on code igniter for ca...

Modify auth on code igniter for cakephp auth, SSO lite Project Description: I start to develop apps with cakephp, but now i wish to add forum made with code igniter. i nee

Need php to help to develop msds project tracking system, Need to help to d...

Need to help to develop MSDS Project Tracking System using PHP Object Oriented PHP, MySQL, jQuery, jQuery UI, Job Description- Your responsibilities 1) Review business req

I want an api replication required, I want an API Replication required P...

I want an API Replication required Project Description: Want an API expert to aid in application development in regards to API extraction, and injection into other sites, as

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