<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Form Handling Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/form-handling/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/form-handling/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to use Form Handling in javascript</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-form-handling-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-form-handling-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Fri, 13 Aug 2021 12:08:53 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[document object]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[Form Handling]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Method]]></category>
		<category><![CDATA[properties]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7922</guid>

					<description><![CDATA[<p>Form Handling JavaScript provides access to the forms within an HTML document through the Form object known as HTMLFormElement in [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-form-handling-in-javascript/">How to use Form Handling in javascript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>Form Handling</strong></h2>



<p class="wp-block-paragraph">JavaScript provides access to the forms within an HTML document through the Form object known as HTMLFormElement in the DOM. Which is a child of the Document Object.</p>



<h2 class="wp-block-heading"><strong>Properties</strong></h2>



<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-center" data-align="center"><strong>Properties</strong></td><td class="has-text-align-center" data-align="center"><strong>Value</strong></td><td><strong>Description</strong></td></tr><tr><td class="has-text-align-center" data-align="center">accept-charset</td><td class="has-text-align-center" data-align="center">UTF-8</td><td>Specifies the charset used in the submitted form (default: the page charset).</td></tr><tr><td class="has-text-align-center" data-align="center">action</td><td class="has-text-align-center" data-align="center">URL</td><td>Contains a URL that defines where to send the data after submitting the form</td></tr><tr><td class="has-text-align-center" data-align="center">autocomplete</td><td class="has-text-align-center" data-align="center">On (default)<br>Off</td><td>Determines that the browser retains the history of previous values.</td></tr><tr><td class="has-text-align-center" data-align="center">enctype</td><td class="has-text-align-center" data-align="center"></td><td>specifies how the browser encodes the data before it sends it to the server. (default: is url-encoded).</td></tr><tr><td class="has-text-align-center" data-align="center">encoding</td><td class="has-text-align-center" data-align="center"></td><td>Holds the value of the enctype attribute, which usually contains either application/x-www-form-urlencoded value or the multipart/form-data value (in the case of file upload)</td></tr><tr><td class="has-text-align-center" data-align="center">elements[ ]</td><td class="has-text-align-center" data-align="center"></td><td>An array of DOM elements that correspond to the interactive form fields within the form</td></tr></tbody></table></figure>



<h2 class="wp-block-heading"><strong>Properties</strong></h2>



<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-center" data-align="center"><strong>Properties</strong></td><td class="has-text-align-center" data-align="center"><strong>Value</strong></td><td><strong>Description</strong></td></tr><tr><td class="has-text-align-center" data-align="center">length</td><td class="has-text-align-center" data-align="center"></td><td>The number of a form field with a given form tag. Should bt the same as elements.length</td></tr><tr><td class="has-text-align-center" data-align="center">method</td><td class="has-text-align-center" data-align="center">GET (default)<br>POST</td><td>Specifies how to send the form data to a web server. The data can be sent as URL variables, by using the get method or as HTTP post, by using the post method</td></tr><tr><td class="has-text-align-center" data-align="center">name</td><td class="has-text-align-center" data-align="center">name</td><td>Specifies a name used to identify the form</td></tr><tr><td class="has-text-align-center" data-align="center">novalidate</td><td class="has-text-align-center" data-align="center">novalidate</td><td>Specifies that the browser should not validate the form.</td></tr><tr><td class="has-text-align-center" data-align="center">target</td><td class="has-text-align-center" data-align="center">_self (default)<br>_blank<br>_parent<br>_top<br>framename</td><td>Specifies the target of the address in the action attribute</td></tr></tbody></table></figure>



<h2 class="wp-block-heading"><strong>Methods</strong></h2>



<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-center" data-align="center"><strong>Method</strong></td><td><strong>Description</strong></td></tr><tr><td class="has-text-align-center" data-align="center">checkValidity ( )</td><td>Returns a true or false value indicating whether or not all the fields in the form are in a valid state.</td></tr><tr><td class="has-text-align-center" data-align="center">reset ( )</td><td>Returns all form fields to their initial state.</td></tr><tr><td class="has-text-align-center" data-align="center">submit ( )</td><td>Submits the form to the URL specified in the form’s action attribute</td></tr></tbody></table></figure>



<h3 class="wp-block-heading"><strong>Events: &#8211;</strong></h3>



<ul class="wp-block-list"><li>onreset</li><li>onsubmit</li></ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-form-handling-in-javascript/">How to use Form Handling in javascript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-use-form-handling-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
