Skip navigation
Currently Being Moderated

Spry allowing form to Submit with Blank values?

Jul 5, 2012 7:34 AM

What would cause Spry to allow my Form to be submitted when the "Required" fields are left blank? Here is what is happening:

- I leave the fields blank and click my "Submit" button

- I briefly see the fields go Red with message "A Value is required"

- Then the Form submits anyway (tables update/no errors)

 

Here is the full code listing: http://cerberus.clearwave.com/jerry/spry_example_ctt1b.pdf

 

Notice:

- I'm using jquery mobile on my page

- I'm inserting data into two tables at one time (Lines 8, 196, 203)

- I have Spry text Validation on only a few fields for now (ex. Line 483)

 

Here is a design view of my page:

spry_validation_design_view.jpg

 
Replies
  • Currently Being Moderated
    Jul 6, 2012 6:30 AM   in reply to jlig

    The problem is with

    <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>

    I have searched for a possible solution, but not found one as yet.

     

    Gramps

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points