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

Two forms on site causing conflicts

Thread began 3/06/2010 7:14 am by gwh362692 | Last modified 3/09/2010 5:19 pm by Jimmy Wu | 878 views | 6 replies |

gwh362692

Two forms on site causing conflicts

Hi,

I have two forms on the one site but every time I make a change to one of them, the other one changes also. For example on the first form, the form width was 600px and then when I created the second form, this width was 370px so the first form changed to be the same.

Can anyone tell me how I can avoid these conflicts and how to fix them?

Appreciate any assistance.

Sign in to reply to this post

anonymous

My guess is that they are using the same stylesheet. You could edit the one form and save it as a completely new style in the design area of the CSS Form Builder in order to create a separate instance. Make sure when you edit the form, that you check the box to save as a preset and then give it a new name.

Regards,

Brian

Sign in to reply to this post

gwh362692

Yes that was the answer - thanks very much.

Just in addition to this, I have a drop down menu with a list of countries - is it possible to make a certain country the default so that if they're in that country they don't have to go to the trouble of choosing one?

Sign in to reply to this post

Jimmy Wu

To do that, you would have to dynamically code the options to add the selected="selected" code into the select option that you want to be selected for each user. You'd have to get what country the user lives in and then use that to find which value should be selected.

Sign in to reply to this post

gwh362692

I didn't want to have a different country for each user, I just wanted the one country since most of the users will be from that country. Would I still need to dynamically code the options or is there an easier way?

Sign in to reply to this post

neilo

In design view, if you click on your select list to select it, you should be able to click on one of the options in the 'Initially selected' items in the properties inspector/panel.

Otherwise, in code view, you can insert selected="selected" in to the appropriate option value:

<option value="United Kingdom">United Kingdom</option>
<option value="United Kingdom" selected="selected">UK</option>

Sign in to reply to this post

Jimmy Wu

Sorry, I misunderstood what you were going for. For the option that you want to be selected as the default, you could either add it to be the first option in the list or set the selected="selected" property for that option.

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