close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

additional required element...

Thread began 11/02/2009 1:36 pm by fdotmedia | Last modified 1/06/2010 1:34 pm by fdotmedia | 3506 views | 6 replies |

fdotmedia

additional required element...

Normally, all you'd need for a registration page is username and password...

In my case I have a 3rd input field with company in it... I need to make sure the username is unique, the pass is taken care of and the company field I need to make sure it exists before it submits the form...

I have set up a recordset with the company table filtered with the companyname= (form variable) - but I'm not sure what to do next? Or if I'm even in the correct area...

Can somebody offer some guidance?

Ted

Sign in to reply to this post

Jason ByrnesWebAssist

User server side validation. In the Server Behaviors panel, click the plus button and select Validation Toolkit -> Server Validation. Select Numeric validation. for the server variable enter:
$totalRows_<Recordset Name>

where <Recordset Name>is the name of your recordset.

After you click the plus button to add it to the validation list, set the minimum number to -1 and the max to 0.

Sign in to reply to this post

bill173836

I tried that and it didn't work. I just keeps sending you to the failure page whether the email exists or not.

Sign in to reply to this post

Jason ByrnesWebAssist

How have you created the recordset.

can you send a copy of your page so I can take a look at the code.

Sign in to reply to this post

fdotmedia

the "non-working" code...

Nevermind - I got it work correctly...

Thanks Jason

Sign in to reply to this post

toms016390756

Originally Said By: ChangeCo
  Nevermind - I got it work correctly...

Thanks Jason  



What did you do to make it work?

Sign in to reply to this post

fdotmedia

What I did...

After I made the recordset, named orgcode, I needed I did the following:

1. Open Server Behaviors
2. clicked on the plus
3. added WA Validation Toolkit
4. Validation Trigger = Any form post
5. Validation type = number
6. $totalRows_orgcode
7. click the large plus button
8. format: English
9. minimum = -1
10. maximun = 0
11. allow decimals = all
12. uncheck blank entry

should work fine...

good luck!

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