View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

blocking duplicate entries

Thread began 9/14/2009 3:16 pm by un33k9309513 | Last modified 3/10/2010 2:01 pm by un33k9309513 | 3207 views | 13 replies

un33k9309513

I did set the min to -1 and that may have done it but I'm not sure because,
I have a select list that shows and hides two divs, but now it doesn't switch between the two to show/hide one or the other, this is what it has


<select name="type" id="type" onchange="WAValidateRX(document.forms[2].type,'select','/2/i','- Invalid entry',document.forms[2].type,0,true);WAValidateHD(document.forms[2].type,'sub_url',true);WAValidateRX(document.forms[2].type,'select','/2/','- Invalid entry',document.forms[2].type,0,true);WAValidateHD(document.forms[2].type,'sub_code',false)">
<option value="1" selected="selected">Code</option>
<option value="2">Print</option>
</select>


I noticed that after I added another form on my page that all the 1's where changed to 2's in the above so it used to be like this:


<select name="type" id="type" onchange="WAValidateRX(document.forms[1].type,'select','/2/i','- Invalid entry',document.forms[1].type,0,true);WAValidateHD(document.forms[1].type,'sub_url',true);WAValidateRX(document.forms[1].type,'select','/2/','- Invalid entry',document.forms[1].type,0,true);WAValidateHD(document.forms[1].type,'sub_code',false)">
<option value="1" selected="selected">Code</option>
<option value="2">Print</option>
</select>

By the way the duplicate entry is for both of these option values. These are regular expression validations on the select list like so in the behavior window:

onChange ----- regular expression
onChange ----- show/hide layer
onChange ----- regular expression
onChange ----- show/hide layer

Is there a place where I need to change a [1] to [2], I also just noticed if I have not submitted for a specific record it all works fine, but if I submit for a record then this problem occurs.

thanks

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