|
Create an HTML Form Quickly: IllustrationIt takes only a few minutes to create an HTML form using JavaScript Coder. This illustration shows you the steps in creating a signup form (with complete input validations).Step 1Start JavaScript Coder, Select HTML Form Wizard, Select the Create New HTML Form button and press Next button...
Step 2The edit input elements page appears. Click on the Load From Form Template button
Select the "Signup Form - Medium.ft" form template and click Open
The input elements appear in the list box. You can edit the elements if required. For
example, select the "DOB" field and press delete key to delete the element. You can add
additional elements if required. Step 3The Add Validations page appears. You can edit the validations for the input elements in this page. As we have loaded from a form template, the validations already exist in this page. You can edit the validations as required. For example, to make the 'Phone' field a mandatory field, click on the form item from the list and then select Is input mandatory ? 'Yes'.Click on the Next button to proceed to the 'Edit Error Strings' page.
Step 4The Edit Error Strings Page appears. You can edit the error strings for the validations in this page.
For example, to edit the error string for the Maximum Length validation for First Name,
click on the Maximum length node in the tree and edit the error string in the edit box.
Step 5That's it! you are now ready to insert the code into an HTML file. Click on the Code Insertion Wizard button to invoke the wizard.
You can either create a new HTML file for the form or insert the code into an existing HTML file. Select the Create New HTML File radio button to create a 'fresh' HTML file for the form. Click on the Next button to proceed.
Click on the Change The Destination Path to copy the JavaScript file. Click on Finish button.
A message "Code Successfully Inserted" will be shown. Click on the Open In Browser button to open the newly created file in browser and to see your form with life!
You can see the resulting page here: Create HTML Form Quickly: Sample File |
|
. Copyright © 2003-2009 JavaScript-coder.com. All rights reserved. |
||