close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

MySQLi Update not submitting - triple checked everything - no errors, it's just not submitting!

Thread began 12/05/2018 1:52 am by Nathon Jones Web Design | Last modified 12/05/2018 11:20 am by Ray Borduin | 464 views | 3 replies |

Nathon Jones Web Design

MySQLi Update not submitting - triple checked everything - no errors, it's just not submitting!

I have five MySQLi Update behaviours on a single page, but they are triggered by different buttons so there's no conflict there.
The second of these isn't submitting. All the others do.

Page attached, or you can check this online at the following address. Please note that you'll need to complete Step 1 before you get to Step 2:
www.sportsmedicalcertificates.com/health-screening-form.php?tab1=1

Soooo confused. :(
Hoping that you'll spot the obvious mistake that I just can't see. Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

It isn't submitting because you have validation on both the US and Metric versions of the form and only one is being filled out... which means the form doesn't pass validation and can't be submitted. You need to make the validation conditional so that if you choose Inches then the centimeters value isn't required and vice-versa.

Sign in to reply to this post
Did this help? Tips are appreciated...

Nathon Jones Web Design

Yes, I have a JS onChange function on the page that allows users to select either Feet/Inches or CM for height and either Kg or Lbs for weight.

I had every one of those fields set as required, so when one of the fields is hidden by the onChange event, it is still required because it is only being hidden, not disabled. This is what's preventing the form from submitting.

Making the validation conditional...I will give that a try but this is all getting beyond me a bit. Any good tutorials on that?

Hope you had a good break Ray.
Thanks for the support, as ever.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

I'm still in the airport in Miami, but I'll be officially back tomorrow. Yes, conditional validation can be complicated. I don't have a tutorial on it. I'll show you how to do it for free in a premier support ticket if you will do a tutorial afterward.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...