close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not inserting and validating

Thread began 10/12/2009 10:09 pm by rogersds267040 | Last modified 10/14/2009 10:24 am by rogersds267040 | 1168 views | 2 replies |

rogersds267040

Not inserting and validating

I thought getting this software and extensions would make things easier but I'm wrong.


Whenever I add that validation tool kit to validate a text field userCSRID to make sure it doesn't exist in the db, it doesn't work and nothing get inserted. I create a record set, then apply the validation server.

What I'm I doing wrong?

I have attach the file.


2: I have 10 records in my db and the result page shows only three records.

Attached Files
users_Insert.zip
users_Results.zip
Sign in to reply to this post

Eric Mittman

On your insert page the validation is attempting to validate the following variable:

$totalRows_CheckRepeat

The problem with the way you have implemented the validations is that this variable has not been set when the validation occurs at the top of the page. In order for this to work properly you will need to move the server validation code down further on the page. Line 14-28 on the insert page should be moved down to just before the insert that is currently on line 130. It must be the last thing before the insert in order for it to work properly.

As for the results page only showing three results what do you see when you test the recordset on this page? If you have any MySQL GUI type of tool you should run your sql in there as a test to see what results occur. You can also test out your results page by browsing directly to it without first visiting the search page, this should get it to load with the default where clause and none of the filtering occurring.

Sign in to reply to this post

rogersds267040

Not inserting and validating

Thank you, problem rectified

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