Spry Validation Select problem. It's not "sticking"

Used Spry validation a few times, no big deal. Insert the widget, tweak, upload, done.
I'm trying to validate one single drop down menu. I go to Insert, Spry Validation Select, I get the little blue "tab" thing attached to the drop down, and we're all good.
I close the doc, open it back up and it's no longer there. You can click on the drop down menu, and no blue tab comes up for the spry.
This doc is on a template, in an un-editable area.
It seems to write the code to the page, you can find it if you look, but it's just not working.
I know this is a long shot, but has anyone had this issue with Spry?
I've been screwing around with this one doc for days trying to figure it out. I even went as far as pulling a backup copy that had never been "spry'd" before and starting over.
Same result.
A page that should have the spry working is:
http://wolfe-florist-waco.com/online-flowers/ED-101.html
Thanks.

Suggest you start by cleaning up the code and validating the page
http://validator.w3.org/check?uri=http%3A%2F%2Fwolfe-florist-waco.com%2Fonline-flowers%2FE D-101.html&charset=%28detect+automatically%29&doctype=Inline&group=0
The link you posted is a page within a page (multiple Doctypes etc).
Are you using Server Side Includes to pull code into the page? If so, the Include cannot be a self-contained page. It must be a code fragment only so that when it's pulled into the page, the resultant code forms a complete, valid web page.

Similar Messages

  • Spry Validation Select Problems cs5

    Hi,
    Part of my website uses a drop down to select from a list of products {product_name} - which is part of my dataset ds_Products.
    Problem: The output is diplayed without a selection drop down and the web page dispalys "{product_name}" instead of the drop down in place of it when i look at the live view or even in the actual browser.
    Code pieces:
    <script type="text/javascript">
    <form name="form1" action="" method="post">
            Search products:
    <span spry:region="ds_Products" id="product_select">
    <select spry:repeatchildren="ds_Products" name="ProductSelect" onchange=”ds_Products.setCurrentRowNumber(this.selectedIndex);">
        <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}" value="{product_name}" selected="selected">{product_name}</option>
        <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}" value="{product_name}">{product_name}</option>
    </select>
    </span>
    </form>
    <!--
    var spryselect1 = new Spry.Widget.ValidationSelect("Product_select", {validateOn:["change", "blur"], invalidValue:"-1"});
    //-->
    How can I get my selection list/ drop down list to be represented from my dataset?
    Thanks.

    Hey folks,
    Surprisingly, I figured out that the code is working fine when I clicked "Live View".
    So the problem actually was my local host wasn't set up correctly.
    For those having the same problem on windows 7 & cs5, make sure that:
    iis service is running on ur machine
    the testing server is set up on dreamweaver - in my case it was a local connection anf not ftp. Remember to specify your site folder when you do this.
    you copy the site folder to (in my case) xampp/htdocs or whatever localhost service you are using.

  • Spry validation select widget problem

    Dreamweaver CS3
    Im using spry validation for my form but the two spry validation select widgets I am using are not working. When I test them I keep getting errors that nothing has been selected when something has in fact been selected. I've used spry validation before with no problems but this is the first time using the spry validation select widget.
    My code:
    <tr>
                <td valign="top">Page in Question*</td>
                <td valign="top"><span id="spryselect1">
                  <label>
                  <select name="select1" id="select1">
                    <option selected="selected">Home</option>
                    <option>About Us</option>
                                </select>
                  </label>
                  <span class="selectRequiredMsg">Please select an item.</span></span></td>
              </tr>
              <tr>
                <td valign="top">Which Internet Browser do you use?*</td>
                <td valign="top"><span id="spryselect2">
                  <label>
                  <select name="select2" id="select2">
                    <option selected="selected"> </option>
                    <option>Internet Explorer</option>
                    <option>Firefox</option>
                    <option>Safari</option>
                    <option>Opera</option>
                    <option>Google Chrome</option>
                    <option>Other</option>
                  </select>
                  </label>
                  <span class="selectRequiredMsg">Please select an item.</span>              </span></td>
              </tr>
    Appreciate the help.

    Hi Daniel,
    Im having the same problem, can you please tell me what you did? I understand you found the problem?
    Thank you!

  • Spry Validation Select ultimate beginner

    Hello to all,
    I need help with the spry validation select thingy.  Basically, I am not a programmer, so code stuff won't help me much.  I need a bit of a walkthrough:
    The problem:
    1) I need 2 validation select boxes with about 10 choices each.
    2) I need an activation button  - that is, when the correct choices are selected, the user presses a button to take them to the right webpage.
    3) I need the choices within each select box to (obviously) direct the user to a different page once the activation button is pressed.
    My solution so far:
    1) I can insert the 2 validation select boxes into dreamweaver, with what i think is the correct naming, etc.  I can also set the 10 choices for each.  I do not know what the "value" tab means in the "list values" button I use to name and set the number of choices.
    2) I can insert the button as well (just insert, nothing else)
    3) I am not able to link the 10 choices with anything - I simply don't know how to do that, and cannot find info about it.  When I live preview my work so far I get 2 nice drop/validation boxes with 10 choices each, and a button.  I now need to, given a specific choice and after the button is pressed, to take the user to a different webpage with information about the double selection they chose. 
    I hope the above is clear enough - in the end, I will have 100 seperate webpages that need to be linked to the choices (10 choices in one box times 10 choices in the other box), I just need a way to link those choices to the webpages.  Any basic and non-code based help would be very appreciated,
    Cheers,
    P

    I need help with the spry validation select thingy.  Basically, I am not a programmer, so code stuff won't help me much.  I need a bit of a walkthrough:
    You have got no hope!
    1) I need 2 validation select boxes with about 10 choices each.
    You have stated that you have already done this. The value of the select element can be found here http://www.w3schools.com/tags/tag_select.asp
    2) I need an activation button  - that is, when the correct choices are selected, the user presses a button to take them to the right webpage.
    You have stated that you have already done this
    Seeing that you have already done the above, these are no longer a problem. This leaves us with
    3) I need the choices within each select box to (obviously) direct the user to a different page once the activation button is pressed.
    For this we would need to see your markup in situ. Please supply a link to your site.
    Gramps

  • Spry Validation Selection - Required with Default Initial Selection

    Hello,
    I am using a Spry Validation Selection drop down.  I want the user to choose 1, 2, 3, or 4.  I would also like the drop down to initially say "Choose One"  I would like to force the user to have to choose 1, 2, 3 or 4.  Is this possible simply through Dreamweaver's edits? 
    Thanks,
    Melanie

    Yes, have a look at the following
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationSelect.js"></script>
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet">
    </head>
    <body>
    <form action="" method="post">
      <span id="spryselect1">
      <label for="select1"></label>
      <select name="select1" id="select1">
          <option value="">Please choose one....</option>
          <option value="1">1</option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
      </select>
      <span class="selectRequiredMsg">Please select an item.</span></span>
      <input name="" type="submit">
    </form>
    <script>
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["blur", "change"]});
    </script>
    </body>
    </html>
    Gramps

  • Filtering A Dataset Using the Spry Validation Select Widget

    Given the code below, how can I filter the rows in the
    ds_BestConvertingByCategory dataset (in the spry:repeat area) that
    match the product category (prodcat_id) selected in the Spry
    Validation select widget?
    // product categories table: columns - prodcat_id,
    prodcat_desc
    var ds_ProductCategories = new
    Spry.Data.XMLDataSet("category_qry2xml.php", "product/category",
    {useCache:false});
    // has prodcat_id column
    var ds_BestConvertingByCategory = new
    Spry.Data.XMLDataSet("product_qry2xml.php", "special/deals[type =
    'Best Converting']", {useCache:false});
    // Spry regions inside a TabbedPanel
    <div class="TabbedPanelsContent">
    <form id="formOffersByCategory" class="frmsprysel"
    name="formOffersByCategory" method="post" action="">
    <strong>Select a Product Category: </strong>
    <span spry:region="dsProductCategories"
    id="spryselectProductByCategory">
    <select spry:repeatchildren="ds_ProductCategories"
    name="offersByCategory" id="offersByCategory"
    onChange="ds_ProductCategories.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{prodcat_id}"
    selected="selected">{prodcat_desc}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{prodcat_id}">{prodcat_desc}</option>
    </select>
    </span>
    </form>
    <div id="offersbycategory"
    spry:region="ds_BestConvertingByCategory"
    class="SpryHiddenRegion">
    <table id="offersByCategoryTbl" width="100%">
    <tr class="colhdr">
    <th width="50%">Offer</th>
    <th width="50%">Code</th>
    </tr>
    <tr spry:repeat="ds_BestConvertingByCategory">
    <td width="50%">{displaytext}</td>
    <td width="50%">{offer_code}</td>
    </tr>
    </table>
    </div>
    </div>
    // Spry validation select widget
    var spryselectProductByCategory = new
    Spry.Widget.ValidationSelect("spryselectProductByCategory");

    Hi flipone01,
    To do this, make your region depend on both
    ds_ProductCategories and ds_BestConvertingByCategory, then use the
    spry:test attribute in conjunction with spry:repeat to weed out
    items that don't have the same product id:
    <div id="offersbycategory"
    spry:region="ds_BestConvertingByCategory ds_ProductCategories"
    <tr spry:repeat="ds_BestConvertingByCategory"
    spry:test="{ds_BestConvertingByCategory::productcat_id} ==
    {ds_ProductCategories::productcat_id}">
    </div>
    Remember that if you make a region depend on more than one
    data set, you need to switch to using fully qualified data
    references as the example above does (using the :: notation). If
    you don't do that the data references default to the first data set
    in the spry:region attribute.
    --== Kin ==--

  • Validation Select works on FF not on IE

    Hi guys!
    Made a few tweaks on the site today, and I just realized that
    my Validation Select Widget was not working on IE 7 (!). I'm
    completely puzzled. It works fine on Firefox, as always... could
    someone shed some light?
    Here's the page:
    http://www.cosmicollective.org/archive.html
    What am I missing?
    Thanks in advance.
    Tomas

    Hi Cristian,
    Thank you very much for your reply. I fixed the errors you
    pointed out, and I also realized I didn't quite understand what the
    problem was:
    I completely removed the Validation Select script, because,
    as you said, there are no forms on the site. The problem is that
    the changes on the selection form do not reflect the
    spry:detailregion that is supposed to display the selected item on
    the list. The problem should be within the drop-down list code,
    which has the "spry:setrow" function.
    Again, this problem is for IE only (and Safari, which does
    not load any data, but that's a different forum post). Firefox and
    Opera change the post accordingly.
    Note that on FF the page loads with both master and detail
    region set on the same row, but on IE the drop-down list displays
    the first item, and the detail region displays the last - they seem
    to be completely unrelated.
    Does this clarify the problem? Again, I appreciate a lot your
    help, and thank you in advance.
    Best regards,
    Tomas

  • Strange Content Viewer problem: downloads do not 'stick'

    I had a folio that  needed to be downloaded it appeared after updating to the latest Content Viewer on my iPads (Retina, mini Retina and standard iPad2).
    For some reason after quiting Content Viewer on my iPads and starting the Content Viewer app again, tapping to see that folio resulted in a empty screen on my iPad. It seemed that Content Viewer app crashed.
    After quiting the app again and restarting the app , it said the folio was in the cloud. I needed to download again.
    From that point on you can repeat those steps again and again: download; read; close Content Viewer app; start Content Viewer app; read folio: empty and crash;  restart Content Viewer: folio gone from iPad and needs to be downloaded again. Repeat.
    I tried removing the downloaded version from the app and re-download: same result.
    I deleted the Content Viewer from my iPads and reinstalled from App Store: same result.
    I then completely rebuild the folio in InDesign under another CC account. Logged in on my iPad under that account, downloaded the rebuild folio... And I can repeat it all over again... The download does not 'stick' and crashes the Viewer app.
    Then I tried this with completly new fresh folios from fresh new InDesign pages... Same result!
    But... On my iPad2 it seems fine. On my Retina iPads it goes wrong. Also covers are missing and I see double entries (it shows already downloaded folios!).
    There are no renditions, just 1024 PDF file. Tried it with v26 and v29 compatibility, makes no difference.
    I am stumped... I have no clue where to even begin fixing this other than the steps I already took mentioned above...
    Could non-ACSII characters in the title be the cause ( it has a slash and copyright sign)? No, that seems to make no difference...
    Bug...?

    I'm still affected by this. What is the status?
    I have a folio with no upper ASCI characters in its name or any article names. created with Folio viewer version v26. My iPad has the latest ACV (3.4.5) on ipad Retina with IOS 7.1.
    Exactly the same symptoms same as described by others - After viewing my folio, if I close the ACV viewer with swipe up on IOS7 and I restart the ACV, I get a grey blank screen & crash, and have to close the app with Swipe up. When I restart ACV, the library updates and I must download the folio again. Then cycle starts again...after download competes I can view the folio....Basically the folio is never saved to the iPad, after its first viewing.
    The Folio has an autoplay slideshow in its first article. Don't know if there is anything else relevant I can add to help?

  • Good day.  I have recently moved over to a Macbook Pro running iTunes 11.1.1.  I have moved my library over from an external harddrive.  I can select the media type as audiobook for the selected albums but the selected media type does not stick.  Pls help

    Please help me resolve this issue.  Are there any other users that have a similar impact?

    Hi,
    Not true. ".m4b" files are protected AAC files as used by Itunes store.
    Audiobooks from Audible are either ".aa" or ".aax"
    Audiobooks imported from CD can be ".mp3" or ".m4a"  - when importing media type should be changed to "Audiobook"
    Therefore there is no need to convert file to ".m4b".
    Jim

  • Spry validation disappears - leaves widget code

    I have added the spry validation to my form fields many
    times. This particular form, I have had to add them twice already
    and now I got an error that says the javascript for widgets that
    are missing are still on the page. I see the widget javascript at
    the bottom of my page in code view. I also see other changes I made
    to the form fields at the same time that I added the spry
    validation. So I am not imagining that I already did this.
    What could have happened to make the validation disappear?
    has this every happened to any of you?

    Hi Daniel,
    Im having the same problem, can you please tell me what you did? I understand you found the problem?
    Thank you!

  • Spry Validation Problems.

    I'm using a modified version of
    Neil Dohertry's
    Coda Slider. Everything works well except for validation. The
    way the
    the page is set
    up, a large form (broken up into sections with their own
    tables) and is panned across multiple divs. Spry Validation is used
    on most of the form elements. the on blur and on change events seem
    to work fine, but the on submit validation only works for the first
    table in the first div. Nothing works after that. If I pull the
    table from the the second div and stick it in the first, on submit
    validation works.
    So is something breaking my on submit validation when my form
    elements are placed in multiple divs?

    Hey folks,
    Surprisingly, I figured out that the code is working fine when I clicked "Live View".
    So the problem actually was my local host wasn't set up correctly.
    For those having the same problem on windows 7 & cs5, make sure that:
    iis service is running on ur machine
    the testing server is set up on dreamweaver - in my case it was a local connection anf not ftp. Remember to specify your site folder when you do this.
    you copy the site folder to (in my case) xampp/htdocs or whatever localhost service you are using.

  • Spry validation problem for long forms

    I used the Spry Validation Widgets for my form validation. It
    works great, BUT the problem is that if you have a very long form
    and the user doesn’t fill in one of the top required fields,
    it doesn’t scroll the browser back up to the required field,
    or present a message next to the submit button telling the person
    that not all required fields have been filled in. Nothing appears
    to happen at all, which would be confusing to users. I added my own
    message underneath the Submit button which reads "If this form does
    not submit, check for required entries at the top of this page.*",
    but is there a way to add an extra popup message that could appear
    next to the Submit button instead? (I know that we can't mix the
    Validate Form behavior with the Spry Validation widgets.)

    Came across the same issue as well. To solve this I added in
    three lines of code into the 'SpryValidationTextField.js' file that
    is created via DW. Inside of that include look for the following
    code:
    if (!Spry.Widget.Form.validate) {
    Spry.Widget.Form.validate = function(vform) {
    var isValid = true;
    var isElementValid = true;
    var q = Spry.Widget.Form.onSubmitWidgetQueue;
    var qlen = q.length;
    for (var i = 0; i < qlen; i++) {
    if (!q
    .isDisabled() && q.form == vform) {
    isElementValid = q
    .validate();
    isValid = isElementValid && isValid;
    return isValid;
    Right before you return the "isValid" parameter you want to
    check and see if the value is false. If it is, have the page
    refreshed to a specific html anchor. For example:
    if (isValid == false) {
    window.location.hash = "formtop";
    return isValid;
    Where "formtop" is would be the name of your html anchor tag
    on the page. So right before my html form starts I have:
    <a name="formtop"></a>
    Hope that helps ... enjoy!
    - Larry Daughenbaugh
    http://www.jplprod.com

  • Spry validation not working in IE9

    I am using DW CS5.5 and have a form on a PHP page and have set spry validation for 2 text fields and a textarea.
    Also using CAPTCHA on the form.
    The 2 text fields are a simple required validation and the textarea is required plus a max character validation
    It works in Firefox, Chrome, Safari, Opera, and IE Compatibility View, but does not work in IE9.
    The CAPTCHA works in IE9 and all other browsers but can't get the spry validation to work.
    Here is the page
    http://www.fandapartyrentals.com/testimonials.php

    altruistic gramps wrote:
    It is up to you, you could remove the counter; personally I would leave it there because once the focus has moved from the text area, the number of (remaining) words will show.
    Another solution is to force IE8 standards document mode as in
    <head>
      <!-- Mimic Internet Explorer 8 -->
      <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
      <title>My webpage</title>
    </head>
    The problem with the above is that the rendering will also follow IE8 mode.
    Gramps
    Thanks for your help,
    I used the meta tag to emulate IE8 and it works as needed.

  • Spry validation not working on HTML5 page in IE9

    I have a HTML5 / CSS3 data capture site here: http://shapewearpanel.co.uk/
    On the textfield input towards the bottom of the page I have a SPRY validation applied to prevent entry of more than 250 characters and to count down the characters as they are typed.
    This works fine in all browsers except IE7 and IE9. I'm not to worried about IE7 but I am concerned about IE9.
    The exceed 250 characters validation doesn't work, the block doesn't work and the countdown only triggers on blur and submit rather than change (which defeats the object really).
    The page defaults to IE9 compatibility / IE7 on my standards lists in developer tools and this works OK but doesn't implement CSS3 so I loose my rounded corners which I can put up with but it would be nice if SPRY worked across all modern browsers otherwise there is no point in using it.
    Does anybody know any fixes for this problem, has anyone else experienced it?

    Have you tried adding <meta http-equiv="X-UA-Compatible" content="IE=8" />?
    Gramps

  • I am really pisssed off at two characteristics of Firefox 4: Size and position do not stick, and view menu selections do not stick from one use to the next.

    I am really pissed off at two characteristics of Firefox 4: 1) Toolbar selections don't stick and 2) firefox window position and size settings do not stick from one use to the next.
    The Bookmarks toolbar is the selection that does not stick, and Firefox, even though I set it to the size and position I want every time I use the program, always loads flush left, full top to botton, and about 1/3 of the width of the screen EVERY TIME it loads. These two characteristics are extreme pains in the ass.

    This problem occurs on the Juno webmail site?
    I assume you are doing something different than just correcting the squiggly red underlined words. How are you spell-checking the email: using an add-on or using a feature of the Juno webmail site? If it's an add-on, which one is it?

Maybe you are looking for

  • To Decode and play  MPEG-2 Video files with JMF

    Hi ALL, I amin serious trouble with a problem. I am developing a Simulator, a function of which is to decode MPEG-2 Video files in real time and play it as well.I have got a MPEG-2 Decoder implemented in C from an open source and need to integrate wi

  • Performance problem in 7.6.6.10

    We have a performance problem after doing the update from MaxDB 7.6.6.3 to 7.6.6.10.   The symptom is that querys with the "<>" operator in the WHERE-Clause on a indexed Integer/SmallInteger-column slows down extremly, e.g. "WHERE FILEDNAME <> 1". On

  • File adapter instances for BPM processing

    I have two doubts. If I have a single file adpater polling an Input folder and the reciever is the BPM,and i have multiple files in the same folder to be picked up by the File adapter. Will the files be qued up to be picked by the file adpter, or wil

  • Business consolidation

    I am creating leading ledger for company based in Dubai which is the subsidairy of indian holding company. Fiscal year of both companies is different. Will there be any issue in consolidation of these two companies in business consolidation in SAP.?

  • Precalculation Service issue in BI 7.0 after SP13

    Wondering if anyone experienced this problem with the precalc service after applying SP13.  We recently applied SP13 and eversince our scheduled workbooks do not run anymore.  Seems that the jobs gets kicked at the specified time, it gets queued up i