addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Boston PHP Message Board Boston PHP Meetup Discussion Forum › Chapter 09: jQuery jAM, Season 3

Chapter 09: jQuery jAM, Season 3

Gene B.
babong
Boston, MA
Post #: 2,039
@Leslie -- smile
Gary J.
gmgj
Boston, MA
Post #: 26
See Chapter 9

For the next step on Forms see - xkcd on database input

I like the html5 built in pattern approach for stripping out "undesirable" input

<label for="strLast">Last</labe­l>
<p>*</p>
<p><input type="text" class="buttonNgrey" name="strLast" id="strLast" required value="" style="width:35em" pattern="['-.0-9A-Z`a-z\sÀ-ÖØ-öø-ÿ]­+"
title="Alpha, Accented Alpha, .,-,',` and numbers" maxlength="30"></p>

Example
Gene B.
babong
Boston, MA
Post #: 2,046
@Gary -- Nice work.
Fred T.
user 71205162
Gloucester, MA
Post #: 15
Gene B.
babong
Boston, MA
Post #: 2,050
@Fred -- Nice work. Right on target.
A former member
Post #: 19
It's really joyful to be able to learn something practical in Chapter 9: Enhancing Web Form. Let's move on to Chapter 10 next week together.laughing
Gene B.
babong
Boston, MA
Post #: 2,053
@Debra -- Joyfully done! One minor tweak to consider. When toggling between PayPal and the other two payment options, the graying out functionality should revert back to normal. Check out my version vs. your version to notice the difference.
A former member
Post #: 20
Thanks for your help, Gene. I got it and will make a update.
Alison M.
user 14023065
Boston, MA
Post #: 10
Chapter 09 completed! Link here: http://www.alisonmora...­
Gene B.
babong
Boston, MA
Post #: 2,061
@Alison -- Nice work. See Ken's note above to correct a minor, but annoying, CSS alignment glitch in validation.html­.
Powered by mvnForum

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy