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

Design and create a web site, Design and create a Web site on any topic tha...

Design and create a Web site on any topic that is of interest to you.Zip all the files that you use for your Web site and submit the zip file. Your Web site MUST have the

Quick debug of async is loading with yepnope, Quick debug of async is loadi...

Quick debug of async is loading with yepnope We are seeing several weird behaviour with our yepnope implementation where resources are being loaded a lot of times. We want someo

We need help in custom hook for a wordpress plugin, We need help in Custom ...

We need help in Custom Hook for a Wordpress plugin We are in search of someone that can create a custom hook from one plugin into another. The logic is that while a user clic

Create an html document, An HTML document may be created via any HTML edito...

An HTML document may be created via any HTML editor or text editor such as notepad etc. STEPS FOR CREATING A SIMPLE HTML PROGRAM 1) Go to Start -> Pro

Want javascript expert, Want JavaScript expert I need JavaScript expert ...

Want JavaScript expert I need JavaScript expert for urgent job please. A plugin in wordpress wont work due to a js file being called that shouldn't be. Quick fix needed Desir

Define a style rule, Define a style rule that defines a font-family, font t...

Define a style rule that defines a font-family, font text color, font-size, and background color for the textarea. The style rules can be placed in a style element in the head of

Need help in event web based program using php, EVENT Web Based Program usi...

EVENT Web Based Program using PHP We are seeking someone who is qualified in using the PHP to develop an Event Management program which arrange of payments via systems like PayP

Need help in internet marketing software project needed, Need help in Inter...

Need help in Internet marketing software project needed I want a internet marketing software, bot, app created asap I have over 60 software that I have researched I want some

I need help in bitcoin stock exchange, I need help in Bitcoin stock exchang...

I need help in Bitcoin stock exchange Make a bitcoin stock exchange a full functional copy of btc-e.com must accept bitcoins as well as nextcoins with automatical deposits for t

Need help in php work on site to fixes, PHP Work on site - fixes, additions...

PHP Work on site - fixes, additions Require some work re-done on seo friendly url creation from vsadmin module of e-commercetemplates.com. a) The SEO checkbox to create NEW c

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