close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Single table dropdown list

Thread began 8/31/2009 1:23 pm by jw291405 | Last modified 9/01/2009 3:21 pm by Jason Byrnes | 1418 views | 3 replies |

jw291405

Single table dropdown list

How does one use the Dynamic Dropdown extension for the State field in the Registration Solution Pack such that registrants can select a state name from a list (states table). The submit would then save the stateID in the registrants record but the Update Profile page would always display the state name in the combobox.
Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

This would not use the Dynamic Dropdowns extension.


you would need to create a state table. The state table would have a primary key column, it would be numeric and set to auto increment, and a stateName column

go through and populate the stateName column with the names of the 50 states.

In the Users table, the state column will store the ID number of the selected state.

Create a recordset that will return all records from the state name table.

Click the state select list in design view and click the Dynamic button, set the list to use the state name recordset. Set the Value to the ID column and the label to the stateName column.


On the profile page, create the state recordset again.

Set the state Select list up the same as on the registration page. This time though, click the lightning bolt next to Select Value Equal To, expand the Recordset that is used to retrieve the users information and select the state column

Sign in to reply to this post

jw291405

Thanks Jason. Your tips got us going in the right direction.

Sign in to reply to this post

Jason ByrnesWebAssist

Glad to hear it.

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