close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

registration and insert data same time

Thread began 2/14/2011 11:33 pm by un33k9309513 | Last modified 2/22/2011 10:01 am by un33k9309513 | 3913 views | 17 replies

Jason ByrnesWebAssist

For this you will need to edit the registration page that is created by security assist.


you will need to delete the Dreamweaver Insert Record behavior that is applied, and replace it with the DataAssist insert record behaivior. This is covered in the Solution recipe on the security assist support page in the Modifying registration video:
securityassist/

(Note: This video uses encryption for the password field, you dont have to follow that part if you dont wish to encrypt the password).

Make sure that the insert record beahavior does not have a redirect set, and make note of the Session name that will be created in the store as section, this session will contain the id of the record that is inserted to be used in the foreign key column of the other tables.


Now you will need add the additional form elements to collect the data that will be store in the other tables.

After these elements are added, add another Data Assist Insert record behavior for the parent info table, bind the parent info columns to the parent info form elements, then add a third insert record behavior for the detail info table, binding the detail info columns to the detail info form elements. In both of these insert record behaviors, bind the foreign key columns that relate the info to the user to the session created by the user insert record behavior.


In the last insert record behavior, you can set the redirect to go to the login page.

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