WHAT'S HOT
Prev | Current Page 153 | Next

LordAlex Leon, Greg Goralski

"Foundation Flex for Designers"

The wrongCAFormatError property
allows you to set your own custom error message. In this case, we have typed The Canadian Postal
Code must be formatted 'A1B 2C3'.
Passwords
We treat passwords slightly differently from other contact info, as they should not display the letters
that are being typed in.
232
CHAPTER 11
28. Create a fourth TextInput and Label set below the postal code in the Design view for the password.
For this TextInput, for the ID, type password, and set the Display as password property to
true (Figure 11-26).
Figure 11-26. Adding the password
This will now hide the password as the user types it in (Figure 11-27), replacing each character with an
asterisk.
Figure 11-27. Asterisks will replace the password the
user types in.
233
CREATING FORMS: THE ???WILL FLEX FOR FOOD??? REGISTRATION PAGE
Filling the Final Thoughts pane
The third step of our Accordion will give the user a chance to add longer comments.
29. For the third pane of this example, Step 3 ??“ Final Thoughts, we will be providing the user with some
space to leave final comments. Begin by selecting the content area of the third pane (Figure 11-28).
Figure 11-28. Select the third pane.
30. On this pane, place a TextArea for comments, so that users can tell us how intuitive they found
our form, and a Submit button. If this application were connected to a database, the Submit
button would send the information that was provided to the server. Placing the Submit button
on the form will give it a label.


Pages:
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
sony koparki lifting bez skalpela śląsk kredyt dla zadłużonych komputery