close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validate Group Code During Registration

Thread begun 2/05/2010 3:59 am by mrobben375515 | Last modified 2/05/2010 12:21 pm by Dani Chankhour | 1108 views | 1 replies |

mrobben375515

Validate Group Code During Registration

We are allowing users to register online. We want them to enter their special group number so we can limit their access to only data within that group. We do not want to do a dropdown list becuase we do not what to expose the group codes. We have a user table and a group table. The group table has the codes for the groups. The user has the user information, including a field for the group that they beloing to. How do we validate that the group number they entered in the registration form is an active code in teh groups table?

Sign in to reply to this post

Dani Chankhour

In Dreamweaver create a record set for the group table and add a filter which compares the group number to the value entered in the form.

And if you wanted to add some text to show when the group number is invalid then Select the text and use the Dreamweaver Show Region server behavior by clicking the + button under the Server Behaviors panel (Window -> Server Behaviors) and select show region "Show if Record Set is Empty" and select the group record set. And then you will need to wrap the insert server behavior with the same condition, so it does not insert to the database if the group record set is empty.

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