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 are need of help in crowdfund5, We are need of help in Crowdfund5 I'm...

We are need of help in Crowdfund5 I'm in search of someone to build clone a site like Realtymogul.com The site is to function the similar on the front and back-end. The fi

How to get started with this, I want to start learning PHP programming, wha...

I want to start learning PHP programming, what I should do?

Prestashop custom url rewrite, Prestashop Custom URL rewrite- repost I w...

Prestashop Custom URL rewrite- repost I would like somewhat to automatically create custom URLs in my shop for guest wishlists using the wishlist owner's names I presently am us

Omputer Incident Response System_Programming on WAMP platfor, need help wit...

need help with initial programming of the system as displayed in the attachment..its about simple incident response system that , as per my idea, shall be universal and easily depl

Web application development , Introduction This is an assessed piece of...

Introduction This is an assessed piece of coursework, so the project that you submit must be your own work , and you must understand all the files that you create for this pro

I need hotel booking wholesale system, Project Description: This project...

Project Description: This project is about to prepare a hotel wholesale system for B2B offering travel agents and affiliate websites to book hotels via whitelabel solution or in

Personal portfolio site, This site must include at least 5 pages - your Hom...

This site must include at least 5 pages - your Home page, an About Me page, a Projects page, a Services page, and a Contact Me page. 1.  Your Home page should include the followi

We are looking for a web developer to edit website and apps, We are looking...

We are looking for a Web Developer to edit website and apps Ok as well as the features what apps and site must have now is (1. Voice post 2. 3d blog 3. All members will have poi

Title tag, The only thing you need to concern yourselves with in the HEAD t...

The only thing you need to concern yourselves with in the HEAD tag (for now) is the TITLE tag. The bulk of the page will be in the BODY tag, as illustrated in Figure.

Business starter website needs to grow up a little need help, My business' ...

My business' starter website needs to grow up a little The site was completely homemade when I started my business last year. While it's visually striking, the way it was constr

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