Help with Spry form and Validation

We have a form with shipping and billing information. When
you fill out the billing and select same as billing radio button.
Then it fills out the shipping fields properly using focus to make
sure the spry validation recognizes the input. Everything on the
form appears to be valid in Firefox Windows and Mac and Safari but
the submit button does not work. Before we started we go the
shipping fields to populate with the billing data the form
submitted fine.
On IE 7 the 1st Zip code fields shows the error messages and
then only some of the hints show up in the spry validate fields
below. This is only on IE. When you populate the shipping section
in IE with the radio button in fills in everything but that
shipping zip again on IE only. You actually have to manually type
in the zip.
Is this IE bug related to the form not submitting in the
other browsers?
I don't understand why the form in all the other browsers
appears to have all fields validate but will not submit.
I bet between three of us we have 60 hours in the stupid form
and 2/3rds of it is not billable.
On the other hand we need to finish this today!!. We will all
be around at about 3 on Sunday. I am happy to pay someone to look
at this and help us get through this last step.
I wish there was some debug tool we could use to see what is
going on. I look at the debug.js file in 6 in the meantime. I can
be reached at 610-256-2843 and best email is [email protected]
Help!!
You can see all the by going to
http://vv.dss-demo.com/
then add something to your cart and go to checkout. you will
get the form.

Florin,
Thanks for the response. We were looking for a way to remove
the hints but did not see anything in the documentation.
But I am still having issues.
A. Not sure how you are not seeing the text "Zip is
required.Invalid format." in the grey area next to zip
code fields. It is there on IE 6 and 7 4 different users with
different computers see it.
B. As soon as I add you code you suggested and comment out
what we had it throws and error in IE and the debug says it is at
the 1st instance of your method sprytextfield20.removeHint();
Object does not support method.
C. A new problem we did not notice last night on all browsers
is that the form now does not respect the spry validations. It
submits no matter what. I am using this to submit the form.
<input name="submit"
id="submit" type="image"
src="images/complete_checkout.png"
onclick="document.forms['checkout_signup'].action='<@appfilepath>checkout_sign up.taf?_function=signup';document.forms['checkout_signup'].submit();"
/>. We for sure don't want. It seems to have occured once we
added the document.forms['checkout_signup'].submit(); in the 1st
place but that without that the form would not submit even when
everything appeared to be validated. So was adding
document.forms['checkout_signup'].submit(); =seems to have just
covered up another issue that is keeping the form from submitting.
I still would like to have someone really look at this form
with me and pay them if I have to. But it really does not seem that
the path we are talking really works.
I am going to roll this back to where it was till I can get
some help.
my guess at this point
Hints have to go because if we fill down with fields that
have hints then the hints become the values and are submitted. And
it also breaks the spry validation.
I would hope that the way we are rebuilding the zip and state
fields would be possible with spry. It sure looks like it works. My
hope is it is not causing the submit to not work.
Anyway I still need help from someone who would be willing to
take the time ort has the time to look over the page and al lthe
logic we are using and see if there is a better way to do this
even. This form is ending up costing me more time in non billed
hours then the job itself. Yipes!!!
As far as the HTML tags I will look at that again there are a
bunch of includes build some of this page but I do see the
beginning <html> seems to have been lost and I put it
back in.
D. I realize there is a fault with this method in the 1st
place since it replaces the hints with values even if the value is
the hint. Any suggestion on how to deal with that? are these hints
more trouble then they are worth when used as field names. Should
we just redisgn and use the field names in the 1st place?

Similar Messages

  • Help with Conditional Display and Validation

    Version 4.1.1.00.23
    Hello,
    I'm having a difficult time with a conditional display and validation I'm hoping someone can help with.
    Requirements:
    When the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox)
    If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL)
    What I've tried
    Create a Dynamic Action on the Start Date
    Event: Change
    Selection Type:Item(s)
    Items(s): P51_START_DATE
    Condition: none
    True Action Section:
    Action: Show
    Fire on Page Load: Checked
    Show all page items on the same line: No
    Affected Items Section:
    Selection Type:Item(s)
    Item(s): P51_CHANGE_REASON,P51_CHANGE_DESC
    I've also created a Dynamic Action with similar settings for the P51_END_DATE.
    I created a Validation for the P51_CHANGE_REASON as Function Returning Error Text:
    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    The Issue
    I tried to create another Dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields on page load, but when either of the date fields are changed and the validation is fired the P51_CHANGE_REASON and P51_CHANGE_DESC are hidden again.
    There are two buttons to submit the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will submit the page and branch to the previous page (which is a report with EDIT buttons to edit the record).
    I can't get the page load Dynamic Action to NOT fire when the validation is fired.
    I hope this is clear and if not what information can I provide?
    Thanks,
    Joe

    Phil,
    Thank you for looking at this.
    Yes if the Change Reason is NULL when the edit page is displayed then the Change Reason and Change Description fields are hidden. If the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox). If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL).
    The problem I'm having is that if no Change Reason is entered and the page is saved thereby firing the validation the Change Reason and Change Description fields are hidden again (because of the On-Load Dynamic Action to hide them). So now the user can't put in a Change Reason...unless they change one of the date fields again which isn't going to be accepted.
    Is there a way to determine if a validation error was fired and be able to use that on the On-Load Dynamic Action to hide the two fields? Something like...If the validation fired then don't run?
    Please let me know if I'm still confusing you.
    Thanks,
    Joe

  • Help with Spry Menubar and slideshow widget in IE

    I have a spry slideshow and menubar created in dreamweaver CS4.  Both work in Firefox, Safari, Chrome, etc. but not IE.
    Here's the link:
    http://www.salmonrunvacations.com/test/
    Check in firefox first, then IE.
    For the menu, what I've done is created a CSS div to insert the menubar into.  This way I can use a background image to frame the menubar. I then tweaked the CSS to shift the menu into the correct position so it lines up with the background image.  This information is not transferring for some reason, as the menubar sits at the top left of that div, ignoring placement info.
    Different versions of IE create different errors as well.  Note that the "galleries" menu should have a flyout submenu.  This doesn't work either, though I could remedy this by making "galleries" a page that links to the two submenues, but I'd kind of just like to get it fixed.
    As for the slideshow, I used a widget fromt the adobe exchange using Adobe Air.  It exported the code as its own html page and CSS, JS, etc, but I just inserted the HTML into a div in the index page.  Again, it works great in FF, not in IE.  I should also note that when I load the page in Dreamweaver CS4, I get a bunch of error menus saying this widget no longer exists.  Dreamweaver does not accurately display the slideshow either.
    Help on either of these issues would be most welcome.
    Thanks and God bless,
    Mike.

    I'm sorry to say it still doesn't work.  I hate to bother you and take your time, but at lease in IE 7 and 8, the slideshow still doesn't function.
    For anyone interested, the code at the bottom was generated by Yahoo web hosting servers, and is for tracking site statistics.  If you have a similar problem and want to get rid of that code as a possible solution, you have to go into the yahoo web hosting control panel, click "detailed statistics," then "options," and disable the site statistics tracking option.
    I could just try to go with another java slideshow, but I really like this one.
    Any other ideas on how to make it work?  Also, the flyout menus under "galleries" display behind the slideshow (or at least the box that shows it not working).  I suppose that may be fixed when the slideshow is fixed.  We'll see. Please let me know if you have any other suggestions to make it work.
    Thanks,
    Mike.

  • Help with instantiating objects and validating them please

    Hello,
    im working on an assigment where i have to make a milk tank object that simulates a Milk tanker (one of those things that carrys milk :P)
    It has a specific constructor that you can pass the volume and capacity to it. I was wondering how i could validate this and make it so the object doesnt instantiate and maybe return an error message if the volume of milk exceeds the capacity of the milk tanker?
    basically i just want to make sure an object is valid while it instantiates, otherwise bomb out and return an error..
    Thank you,
    Phill
    PS: im still learning java so some stuff might be over my head, but ive got a book next to me to help me understand :) (yes, ive checked and i cant find anything on this subject)

    public MilkTanker(int volume, int capacity) throws
    InvalidArgumentException
    if (volume > capacity)
    throw new InvalidArgumentException("Volume can't be greater than >capacity");
    this.volume = volume;
    this.capacity = capacity
    }This means that while trying to create a new object of this class you need to handle a possible exception:
    public static void main (String [] args){
       try {
          MilkTanker tank = new MilkTanker(100, 1000);
       catch (InvalidArgumentException _){
          System.err.println(_.getMessage());
    }In the case that an exception is thrown the object of this class will not be created and every line of code you might have after the constructor call (inside the try clause) will not be executed.
    Hope that helped
    afotoglidis

  • Need help with Blog, Wiki and Gallery

    Hi Team,
    Need help with Blog, Wiki and Gallery startup. I have newly started visiting forums and quite interested to contribute towards these areas also.
    Please help.
    Thanks,
    Santosh Singh
    Santosh Singh

    Hello Santhosh,
    Blog is for Microsoft employees only. However, you can contribute towards WIKI and GALLERY using the below links.
    http://social.technet.microsoft.com/wiki/
    http://gallery.technet.microsoft.com/

  • What's the phone number I should call for help with my iPhone and ihome dock?

    What's the phone number I should call for help with my iPhone and ihome dock?

    http://www.ihomeaudio.com/support/

  • Upgrade from CS 5.5 design premium to CS 6 design standard with purchased DVD and valid serial #s

    Why can't I upgrade from CS 5.5 design premium to CS 6 design standard with purchased DVD and valid serial nos?

    Kkofron please make sure the CS5.5 serial number you are using is also able to be registered under your account at http://www.adobe.com/.  You can find additional details on how to register your Creative Suite 5.5 serial number at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.

  • Help with photoshop quitting and AMD graphics

    help with photoshop quitting and AMD graphics
    im not a techy, but it appears i have to do someting with my amd graphics card - this might be why my software is crashing - ive no idea what to do though

    Hi Chris
    I have tried to go on the website, then i tried to download the automatic detect because i wasnt sure which driver i had or needed - but it has just downloaded a load of game software - which i dont want ( i dont think)
    i have find out my laptop has a amd radeon HD 8750M card, but i dont know what im doing! i would hate to mess my computer up as i am in thailand with no one to help me!
    its frustrating as i am paying for CC but cant use it!

  • Help with Spry, acting weird in Mac Os 10.5 10.6, 10.7 and Ios Devices

    I use Dreamweaver CS4 for designing our school website.  The url is http://www.stpiusxschool.org
    The menu bar on the left is built with a Spry Asset, it is to expand to different choices on some of the lines.  The issue started about a month ago, if I click on the first item that should expand out (Parent Resources) it will not expand out, then I choose the second one (Student Resources) it expands out, I go back to Parent Resources and it will expand....this happen on Mac 10.5 and Ios Devices (Ipad, and Iphone)
    On Mac 10.6 menu bars will never expand out.
    I have tried many things, I have ran the Spry Updater and uploaded those files.  I have built a page outside of my site, it appears to work ok, then copied that Spry Asset folder into the site, no luck. 
    I have built a second spry on a test page within the site, and tried it out, it doesn't seem to work correct either.  It can be accessed off the main page mentioned above, scroll to the bottom and click on test, that is just what it is a test page.
    School is starting soon and this site is used a lot for resources during the day.
    I have called Adobe and got no where with them but that even took hours.
    If someone could help me out that would be awesome.
    By the way, I know nothing about coding itself.
    Thanks

    You have got two problems
    The menu is acting weird in Mac as well as on PC
    The menu does not behave in IOS devices
    The solutions
    Add the DOCTYPE Declaration to your document(s)
    Replace the current SpryMenuBar for an IOS friendly MenuBar
    1. You can add the HTML5 document type as follows, making sure that there are no blank lines before <!DOCTYPE HTML>
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>St Pius X School des moines iowa</title>
    The title already existsin your document. I put it there so that it is easier to see where the rest goes.
    2. There is a Spry Menu Bar 2.0 available here http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2141544
    Gramps

  • Help with the HOST and START, forms 6i

    Hi i like open to image with de Host and Start in Forms 6i.
    For example Host('start '||:path||'', NO_SCREEN ); -> is correct if the path is c:\ ... but if the path is more longer with space in white for example C:\Documents and settings ... i put the quotes "C:\Documents and settings ..." but Doesn't open the image, another window (MSDOS) open... :S

    Hello,
    Try this:
    Host('cmd /c START "" "' || :path || '" ');Francois

  • Help with HTML form code

    I need help on some HTML code if at all possible.
    What I am trying to do is set up a page that someone can
    enter their name address and email into a form and when they hit
    the submit button it automatically sends them a premade email of my
    choosing that I make prior and somehow maybe embeded into the html
    code to the address that they entered? I dont know if it is
    possible but I am sure it can be.
    Thank you in advance

    Actually, you could be subject to "abuse complaints", not
    "abuse".
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "bregent" <[email protected]> wrote in
    message
    news:fb547q$b49$[email protected]..
    > >What I am trying to do is set up a page that someone
    can enter their name
    > address
    >
    > Sure, you can do it fairly easily with any scripting
    language. You need to
    > be
    > cautious about sending automated emails to anyone
    without first validating
    > that
    > they are the actual owners of the email address,
    otherwise you open your
    > site
    > up to abuse.
    >
    > >I dont know if it is possible but I am sure it can
    be.
    >
    > Huh?
    >

  • Help with Login Form (JSP DB Java Beans Session Tracking)

    Hi, I need some help with my login form.
    The design of my authetication system is as follows.
    1. Login.jsp sends login details to validation.jsp.
    2. Validation.jsp queries a DB against the parameters received.
    3. If the query result is good, I retrieve some information (login id, name, etc.) from the DB and store it into a Java Bean.
    4. The bean itself is referenced with the current session.
    5. Once all that's done, validation.jsp forwards to main.jsp.
    6. As a means to maintain state, I prefer to use url encoding instead of cookies for obvious reasons.I need some help from step 3 onwards please! Some code snippets will do as well!
    If you think this approach is not a good practice, pls let me know and advice on better practices!
    Thanks a lot!

    Alright,here is an example for you.
    Assume a case where you don't want to give access to any JSP View/HTML Page/Servlet/Backing Bean unless user logging system and let assume you are creating a View Object with the name.
    checkout an example (Assuming the filter is being applied to a pattern * which means when a resource is been accessed by webapplication using APP_URL the filter would be called)
    public doFilter(ServletRequest req,ServletResponse res,FilterChain chain){
         if(req instanceof HttpServletRequest){
                HttpServletRequest request = (HttpServletRequest) req;
                HttpSession session = request.getSession();
                String username = request.getParameter("username");
                String password = request.getParameter("password");
                String method = request.getMethod();
                String auth_type  = request.getAuthType();
                if(session.getAttribute("useInfoBean") != null)
                    request.getRequestDispatcher("/dashBoard").forward(req,res);
                else{
                        if(username != null && password != null && method.equaIsgnoreCase("POST") && (auth_type.equalsIgnoreCase("FORM_AUTH") ||  auth_type.equalsIgnoreCase("CLIENT_CERT_AUTH")) )
                             chain.doFilter(req,res);
                        else 
                          request.getRequestDispatcher("/Login.jsp").forward(req,res);
    }If carefully look at the code the autherization is given only if either user is already logged in or making an attempt to login in secured way.
    to know more insights about where these can used and how these can be used and how ?? the below links might help you.
    http://javaboutique.internet.com/tutorials/Servlet_Filters/
    http://e-docs.bea.com/wls/docs92/dvspisec/servlet.html
    http://livedocs.adobe.com/jrun/4/Programmers_Guide/filters3.htm
    http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html
    http://www.servlets.com/soapbox/filters.html
    http://www.onjava.com/pub/a/onjava/2001/05/10/servlet_filters.html
    and coming back to DAO Pattern hope the below link might help you.
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
    http://java.sun.com/blueprints/patterns/DAO.html
    http://www.javapractices.com/Topic66.cjp
    http://www.ibm.com/developerworks/java/library/j-dao/
    http://www.javaworld.com/javaworld/jw-03-2002/jw-0301-dao.html
    On the whole(:D) it is always a good practice to get back to Core Java/J2EE Patterns.and know answers to the question Why are they used & How do i implement them and where do i use it ??
    http://www.fluffycat.com/java-design-patterns/
    http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html
    http://www.cmcrossroads.com/bradapp/javapats.html
    Hope that might help :)
    REGARDS,
    RaHuL

  • Need help with spry collapsible panel (menu)

    I learn as I go when I created my website http://www.invitation-fascination.com/shapes.html and so far I've created a page with 13 spry collapsible panels- I think it came out pretty well.  Now this is what I want to add to the page: 
    I want to create a selector (drop down) menu above the panels with the option to select any one of the 13 panels.
    Once selected it will move directly to that panel and open it. 
    I've tried the piselect thing and with the "open" and "close" button that will programatically open the panels, but what I want is for the panel to be selected from the menu and then the page goes directly to that panel and it then opens.
    Is there a way this can be done?  Please help
    I'm really not that good at this stuff- please be easy with your response- thank you

    Have a look at the last example http://labs.adobe.com/technologies/spry/samples/collapsiblepanel/CollapsiblePanelGroupSamp le.html
    Gramps

  • Weblogic 10.3.5 with oracle forms and reports 11.1.2.1.0

    Hi All,
    I am new to 11g concept (actually web based, have worked till 6i) and trying to upgrade my existing system (6i) to 11g. I have installed Weblogic 10.3.5 with forms and reports 11.1.2.1.0 on windows 7 32 bit. I can connect to my database (10g) from Form builder.
    But when I try to open a form/pll of 10g or 6i, it says PDE-PLI018 could not find library and it shows the path of my earlier folder, which now does not exist.
    I have made changes in registry FORMS_PATH, FORMS_BUILDER_PATH, UI_ICON
    And in default.env file FORMS_PATH and CLASSPATH
    I have added entry to tnsnames.ora, through which I can connect to DB. And have followed below site to configure weblogic and FM forms and reports;
    http://windows7bugs.wordpress.com/2013/04/06/install-configure-oracle-weblogic-server-10-3-6-forms-reports-11g-on-windows8windows-2008-r2/
    I have few doubts in my mind;
    1) Do we have to connect (create a bridge) to DB from weblogic except tnsnames.ora.
    2) For library error I think I am missing some settings to be done.
    3) If I am able to rectify above error then can I directly use http://localhost:8888/forms/frmservlet and access the system from another pc, or still there are some modifications needed.
    I am trying this from last 3 days, but couldn't find the solution, kindly help me out for same, eagerly waiting for your reply.
    Regards,
    Ash

    Hi InoL,
    Thanks for your reply, Yes, as there are many forms in my system, there is a chance that libraries attached are with the path.

  • F4 help for Date field and Validation

    Hi Friends,
    I am new to BSP programming .I knew getting F4 help in normal ABAP.But i don't know in BSP .
    I want simple steps to get F4 for a field on Page as well as date field .
    and How to valid those entered dates.
    Presently i am using length 10 character variable for DATE without F4 help and No validation.
    I think you guys will help me out.
    Thanks,
    Venkat.O

    Welcome to SDN.
    for F4 help with validation for dates you can use the following code.
    <htmlb:inputField id         = "wf_ad_date"
                                    type       = "date"
                                    showHelp   = "TRUE"
                                    value = "<%= sy-datum  %>"
                                    visible    = "true"
                                    disabled   = "false"
                                    required   = "true"
                                    maxlength  = "10"
                                    size       = "10"
                                    doValidate = "true"
                                    design     = "standard" />
    For other type of fields check out this weblog by Thomas Jung
    <a href="/people/thomas.jung3/blog/2005/08/22/bsp-value-input-help-popups-version-30 Value Input Help Popups Version 3.0</a>
    Regards
    Raja

Maybe you are looking for