Form object, PHP Web Programming

Assignment Help:

This is a property of the document object. It corresponds to an HTML input form constructed from the FORM tag. A form can be submitted through calling the JavaScript submit method or clicking the form SUBMIT button. Some form properties are following:

• Action - It specifies the URL & CGI script file name the form is to be submitted to. It lets reading or altering the ACTION attribute of the HTML FORM tag.

• Button - An object representing GUI control.

• Elements - An array of fields & elements in the form.

• Encoding - It is a read or write string. It indicates the encoding method the form data is encoded in, before submitted to the server. It corresponds to ENCTYPE attribute of the FORM tag. The default is following "application/x-www-form- urlencoded". Other encoding comprises text/plain or multipart/form- data.

• Length - The number of fields in the elements array that means the length of the elements array.

•  Method - It is a read or write string. It has the value "POST" or "GET".

•  Name -  It is the form name. Corresponds to the FORM Name attribute.

•  Password - It is an object representing a password field.

•  Radio - It is an object representing a radio button field.

•  Reset - It is an object representing a reset button.

•  Select - It is an object representing a selection list.

•  Submit - It is an object representing a submit button.

•  Target - The name of window or frame to which the form submission response is sent through the server.


Related Discussions:- Form object

Explain how to submit form without a submit button, Explain how to submit f...

Explain how to submit form without a submit button. We can achieve above task by using JavaScript code linked to an event trigger of any form field and call document.form.submi

Php script, Use your imagination, but the report should include all the sub...

Use your imagination, but the report should include all the submitted information, except the password, and generated information from the database too. A routine response might b

We need a php cron management script, We need a PHP Cron Management Script ...

We need a PHP Cron Management Script We have a web application that runs a number of crons for each account. We presently use a service called Webcron to manage these crons howe

Describe how syntax errors occur in php, Question: (a) Describe how syn...

Question: (a) Describe how syntax errors occur in PHP. Illustrate your answer with extract codes. (b) Explain two methods that might be used to control sessions in a web ba

Onload and onunload event handlers, onLoad & onUnload are mainly utilized f...

onLoad & onUnload are mainly utilized for popups that appear while the user enters or leaves the page. Another significant use is in combination along with cookies which should be

Onerror event handler, The onError event handler executes the indicated Jav...

The onError event handler executes the indicated JavaScript code or function onto the occurrence of an error event. It happens while an image or document causes an error throughout

Calling deferred code from a script, A function is a deferred script since ...

A function is a deferred script since it does not do anything till a function, an event, a JavaScript link, or an immediate script calls it. You have possibly noticed that you can

Very simple workshop job and parts tracking program, Very simple workshop j...

Very simple workshop job and parts tracking program Project Description: I want some software that will be very simple for mechanics who are not computer savvy. i want it to

Looking for a good programmer to work with my graphic design, I am looking ...

I am looking for a good programmer to work with my graphic design/illustrator on my team to actively blend animation with gameplay and create a fun, simple and easy, 2d iPhone gam

We need help to modify a web page, We need help to Modify a web page We ...

We need help to Modify a web page We need help to Modify a web page to include posting a new category to our menu including add Add heading as well as text to our current web

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