Text Fields

blip

Now, we need to create a one-line text box.


"Take my wife...paleeez!"

pixel


No, Cornball, that's a "one-liner" - and a bad one at that. A one-line text box lets our visitors type in a unique answer. For example, their e-mail address, or the name of their school.



Creating a one-line text box
A one-line text box is useful when you want to collect one line of information from your visitors. For example, you may want to ask your vistor's name, country, or phone number.

To add a one-line text box to your form:

    1. Type My e-mail address is:, then click the One-Line Text Box button on the Forms Toolbar.

    2. Double-click the one-line text box field. The One-Line Text Box Properties dialog box will appear.

Double-click the one-line text box

    3. In the Name box, type the word address. You will see this Name box entry when you look at the input info from your visitors - so give it a name that will make sense to you. In this case, address will refer to the e-mail addresses submitted by your visitors.

Text box properities

    4. Click the Validate button in the Text Box Properties dialog box. The Text Box Validation dialog box will appear.

    5. Select No Constraints from the Data Type drop-down box and click OK. This will allow your visitors to type in whatever they want. Other options in this drop-down box allow you to limit what kind and how much data your visitors can enter.

    Text Box validation

    6. Click OK in the Text Box Properties dialog box.

To change the size of the one-line text box:

    1. Click once on the text box. Three resizing dots will appear on the left and right sides of the box.

    Resizing the text box

    2. Position your mouse pointer over one of the dots until it turns into a two-headed arrow. Click and hold your left mouse button, then drag the dot to change the size of the box.


Blip, the questions we've asked are all good, but we should let some individuality shine through. You know... let the kids speak their minds, find out what makes them happy or sad, or what are their goals and dreams.

pixel


blip

That's where the scrolling text box comes in. This type of form box allows your visitors to type longer answers.



Making a scrolling text box
A scrolling text box is useful when you want to collect comments from your web site visitors.

To add a scrolling text box to your form:

    1. Type My comments on your web site:, then press the Enter key.

    2. Click the Scrolling Text Box button on the Forms Toolbar.

    3. Double-click the scrolling text box field that appears. You will see the Scrolling Text Box Properties dialog box.

    Double-click the scrolling text box

    4. Type the word comments into the Name box.

    5. Click the Validate button in the Scrolling Text Box Properties dialog box. The Text Box Validation dialog box will appear.

    Scolling text properties dialog

    6. Select No Constraints from the Data Type drop-down box and click OK. This will allow your visitors to type in whatever they want. Again, you can limit what kind and how much data your visitors will be allowed to enter.

    7. Click OK in the Scrolling Text Box Properties dialog box.

To change the size of your scrolling text box:

    1. Click once on the scrolling text box. Three resizing dots will appear on the left and right sides of the box.

    2. Position your mouse pointer over one of the dots until it turns into a two-headed arrow. Click and hold your left mouse button, then drag the dot to change the size of the box.

    Resizing scolling text box


Hey, what's that "Submit" button at the bottom of the form?

pixel


blip

That's the button that our viewers click to send their information to us.


Oh, but "Submit" sounds so dry. Can we change the button to read "Send It In"? That would be a lot friendlier, don't you think?


Yessireepixel!



Changing the Submit button
You may have noticed that FrontPage automatically adds a Submit and Reset button to your form. Your visitors send the form to you by clicking the Submit button. This means you must have a Submit button on your form page. The Reset button is not mandatory, but it allows your visitor to clear all the data on the form and enter new data.

You may want to change the text on these buttons to make it more relevant to your web site or form.

To change the text on the Submit button:

    1. Double-click on the Submit button to open the Push Button Properties dialog box.

    2. Type Send it in into the Value/Label box, then click the OK button.



Back
Quick Quiz
Next