...
- Click the name of the Forms Tutorial project (or click the Action Menu and select Edit). You'll be on the Forms and Workflows home page.
- Click Add and select Create a New Form. The Form Designer launches.
- Notice the form name in the top left corner. Click the pencil icon to change the form name to Client Info.
- Add a Section:
- Drag a Section control from the Palette and drop it into the canvas on the right. Notice as you drag, an icon at the top right will indicate where the item will drop.
- The Section will have a default label e.g. Section 1. Click the label; it becomes editable. Change it to Client Information.
- Add Controls to the Section
- Drag a Text control from the palette and drop it inside the Section.
- Click the label and change it to First Name.
- Notice that the Properties panel at left now shows the properties of this control. Check the Required property at the bottom. See that the control background changes color to indicate that it is required.
- In the Properties panel, click on the Style Tab and set the width to 6 grid columns using the selector at the top.
- Drag another Text control from the palette and drop it to the right of First Name. Make sure the icon indicator at top-right shows a right arrow before you drop.
- See that the control drops to the right and is automatically 6 grid columns wide so it fits to the right of First Name.
- Change the label to Last Name (you can click on the label or change it in the Properties panel).
- Check the Required property once again.
- Similarly, drag and drop an Email and Phone Control to the right. Experiment with drag/drop. You can drop to the right, left, above or below most controls.
- Change their labels to Email Address and Phone Number respectively.
- Drag a Text control from the palette and drop it inside the Section.
- Add a Date: Now, drag and drop a Date control above the Section (the icon while dragging should show an upward pointing arrow).
- Change the label to Today's Date.
- Notice that you can change the Control Type to Date, Time or Date/Time for different functionality. A variety of Date Formats are available but we suggest leaving this setting at Automatic.
- Click the Style Tab in the Properties panel and change the width to 3 grid columns.
- Now, select the Email Address control.
- In the Properties panel, change customize the Error Message to Msg property by typing in "You must enter a valid email address."
- Set the Hint to "Enter a valid email address."
- Set the Help property to "Email address <u>must be</u> entered in a valid format."
- See that the Hint message shows up on hover and the Help content causes a help icon to appear. Clicking the icon displays your help text. This text can contain any valid, well-formatted HTML.
- At this point, your form should look like this:
Next, customize the message displayed when the form is completed.
Click Settings in the Guided Designer Navigation bar at the top of the form. The Form Properties Wizard displays.
Select the Form Actions tab.
Select the The Action: Display Message when user submits formform is pre-selected - keep that selection.
Copy the message below into the Message box then click Finish. {FirstName} and {LastName} are examples of templates. Templates are specified by surrounding the name of a control in your form with curly braces. will use the values entered into the First Name and Last Name fields at runtime.
Code Block Thank you {FirstName} {LastName} for your submission.
Click Save at the top right corner of your screen to save and continue working, or Save and Close to exit the designer and return to the Forms and Workflows Homepage.
...