close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Registration form requring fields that are not required

Thread began 7/11/2011 3:22 pm by sandy170299 | Last modified 7/13/2011 11:56 am by Jason Byrnes | 1695 views | 7 replies |

sandy170299

Registration form requring fields that are not required

I'm having some issues with my security assist created registration page. It is making fields required that I did not specify to be required. I went in after the fact and specified which fields (using the client validation wizard) should be required, but that hasn't affected anything. The non-required fields are still showing up as required. I'm attaching a zip file of my code. If you want the URL, just let me know. Thanks!

Attached Files
WA.zip
Sign in to reply to this post

Jason ByrnesWebAssist

The URL would be helpful to test this page in the browser.

what fields should not be required?

Sign in to reply to this post

sandy170299

members_Registration.php

The required fields are marked with an asterisk. Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

I see, when you submit the form, you are getting the error message:
Column 'storeWebsite' cannot be null


this means that in the data base, the column storeWebsite has been creaeted to not allow a null value.

you will need to edit the database directly using PHPMyAdmin or another mysql gui tool to set those columns to accept null values.

Sign in to reply to this post

sandy170299

Jason, I swore I had all of the fields in the table set up correctly. Ooops - sorry about that! However, when I corrected that, it's still submitting the form if I leave a required field blank. For example, the StoreName field: Column 'storeName' cannot be null. Then, if I click the back button on the browser, it clears the whole form. Did I set up the client side script incorrectly? Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

there is code missing from the page.


when you apply client validation to the page, it will add a script block in the head section that is missing from your page, try editing the client validation to have it recreate the code to see if it adds the script block to the head.

Sign in to reply to this post

sandy170299

Jason, I'm using an included header and footer file on this page, so the <head> section is actually part of the included file. I have done this before many times, without a problem, so I'm not sure why it's not working now...

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

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...