close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

One form, multiple versions

Thread began 10/06/2010 12:46 pm by julie383376 | Last modified 10/07/2010 11:40 am by Jason Byrnes | 670 views | 3 replies |

julie383376

One form, multiple versions

I'm a form/dynamic data novice, so this may be a dumb question...

I have a client with multiple store locations. They have a quote form their store managers use to send out tire quotes to customers. Currently there is a separate form for each store location - so in this case, about 50 copies of the same form. The only difference in each form is the store's contact information - the rest of the form is just stuff like who the quote is for and the quote itself.

In other words, the managers go to a web page, choose their store, then they are taken to the form for that store.

I was wondering if I would be able to make one form that when the manager chooses their store location, that store's email address and contact information is what appears at the top of the email quote sent to the customer.

I may not be describing this well... hopefully you can understand what I need. Essentially I'm hoping not to have to make 50+ different versions of the same form!

Thank you for your help!

~Julie

Sign in to reply to this post

Jason ByrnesWebAssist

yes, this can be done. IT will require a little knowledge of creating a database table and creating recordsets.

you would need to create a database table to hold the location information:

tblLocations:
locationID -Primary Key, Auto Increment
locationName - varchar
locationAddress - varchar


You can then create a recordset to return the locationID and locationName.

Then create a select list in your form to display the locations from the database. Click the select list in design view, and click the dynamic button in the property inspector.


Select your recordset from the Option From Recordset list. Set the Value to use the locationID column, set the name to use the locationName column

you now need to create a second recordset to lookup the selected location. Set it to filter the locationID column on the select list value.

you can use the locationAddress from this recordset in your email.

Sign in to reply to this post

julie383376

Thank you for taking the time to explain that to me!

I'm going to try, but I don't think I'm smart enough ;)

~J

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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