close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Unique database field inserted, but page is blank

Thread began 6/17/2011 10:34 am by Blikbrein | Last modified 7/11/2011 8:09 am by Jason Byrnes | 1901 views | 7 replies |

Blikbrein

Unique database field inserted, but page is blank

I'm trying to add validation that searches whether a e-mail already exists when user is registering. When adding added code similar to the wizard's output, I end up with a blank page. I stripped down the server validations behaviour to only include the unique db field validation. I read that the Key value should be 0 from another post, but the SA wizard adds session variable values. Attached screenshot of wizard and page.

Attached Files
registration_requester.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

i think line 14:

php:
$WAFV_Errors .= WAValidateUnique("nrcahub",$nrcahub,$database_nrcahub,"Requesters","RequesterID","int","".((isset($_SESSION["RequesterID"]))?$_SESSION["RequesterID"]:"0")  ."","RequesterID","int","((isset($_POST[\"formEmail\"]))?$_POST[\"formEmail\"]:\"\")",true,1);




should be:

php:
$WAFV_Errors .= WAValidateUnique("nrcahub",$nrcahub,$database_nrcahub,"Requesters","RequesterID","int","".((isset($_SESSION["RequesterID"]))?$_SESSION["RequesterID"]:"0")  ."","RequesterID","int","".((isset($_POST["formEmail"]))?$_POST["formEmail"]:"")."",true,1);
Sign in to reply to this post

Blikbrein

Thanks for the help. Why is the '/' inserted into the code when I use validation toolkit? Is it a bug?

I'm still getting the blank page dispite changing the code. The email field in my db is indexed as unique and without the validation inserted I get the duplicate value error when posting the form with a already existing email inserted.

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

Rune Brynestad

I have exactly the same issue. Have you found a solution?

Regards
Rune

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

arteydiseno381654

Hello, I am also presenting the same problem

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