close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Modification of Registration Form

Thread began 1/15/2010 10:14 pm by donegan | Last modified 1/25/2010 12:04 pm by Jason Byrnes | 2649 views | 8 replies |

donegan

Modification of Registration Form

Hi Everyone,

I need some help. I installed the Registration Solution Pack and made sure it worked.

Then I made some changes to the orginal Registration Form by adding three fields

Birth Month
Newsletter Format
Quilting Program

In addition I also deleted the following fields:

Phone Fax
Address
Address2
ZipCode

Next I uploaded the new page to my site:

users_Registration.php

Now the page does not work properly.

Not sure what I need to do to fix it.

Would appreciate some help in this matter.

Sign in to reply to this post

shadow329043

I couldn't tell that there was a problem - what are you experiencing?

Shadow

Sign in to reply to this post

Jason ByrnesWebAssist

In order to add new fields to the registration form, and have them stored in the database, you will need to perform a couple extra steps:

1) The new Columns need to be added to the users table in the MySQL Database.


2) You will need to use DataAssist to modify the insert record server behavior to bind the new form fields to the new Database columns.

Sign in to reply to this post

donegan

Modification of Registration Form

The fields were added to the database.

I followed the instructions in the Data Assist to bind the fields.

I am not sure what else to do.

Sign in to reply to this post

Jason ByrnesWebAssist

it looks like validation is failing.


Find the following code:

php:
if ($WAFV_Errors != "")  {

    PostResult($WAFV_Redirect,$WAFV_Errors,"usersRegistration");
  }



and change it to:

php:
if ($WAFV_Errors != "")  {

    PostResult($WAFV_Redirect,$WAFV_Errors,"usersRegistration");
  }



this will werite a coma separated list of the failed validations to the screen, please posst this back along with a copy of your page./

Sign in to reply to this post

donegan

Modification of Registration Form

As outlined in my original message, you can see my form page by going to the following link:

users_Registration.php


The line of code you directed me to post in my form is exactly the same information
already on lines 74 and 75 in the code.

-------------

Sign in to reply to this post

Jason ByrnesWebAssist

Sorry, the code to change it to is:

php:
if ($WAFV_Errors != "")  {
    die($WAFV_Errors);
    PostResult($WAFV_Redirect,$WAFV_Errors,"usersRegistration");
  }




I need for you to add a copy of the php page to a zip file and send the file with your reply so I can examine the php code.

Sign in to reply to this post

donegan

Modification of Registration Form

Attached you will find my User_registration.php Page.

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

Jason ByrnesWebAssist

I do not see the code change I suggested on the page.

After changing the code, what is the outcome when you test this page?

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