Results 1 to 10 of 10

Thread: Carousel & Form Validation

  1. #1
    Senior Member warrenr's Avatar
    Join Date
    Aug 2011
    Location
    South Africa
    Posts
    168

    Default Carousel & Form Validation

    Just came across a strange problem with the Carousel when using the Validate in a form

    I have a 4 slide carousel file in my Banner for each page in a table which works fine.

    However on the Contact Page when I include a Required Field validation on a field in a form it seems to corrupt the carousel on that page.

    If you preview the page the four slides of the Carousel are listed vertically one under each other down the page and slightly of to the right.

    I got around it my doing the validation in my php file that handles the Form, but I was wondering if anyone else has had a similar problem?

    I have NOF 13 with all the updates applied and IE11!

  2. #2
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Can you post a link to the problem page?

    OR

    If it is not live, create a testing profile and upload it?

    http://www.gotfusion.com/tutorials/tut.cfm?itemID=4071
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  3. #3
    Senior Member warrenr's Avatar
    Join Date
    Aug 2011
    Location
    South Africa
    Posts
    168

    Default

    Hi Mike

    Thanks for taking the time to look at it

    Please have a look at my test site and go to the Contact Us page

    http://viewmysite.co.za

  4. #4
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    2,000

    Default

    this is possibly caused by the outdated doctype you are using
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

    try enabling quirks mode in settings, current site, or use HTML5 output

  5. #5
    Senior Member warrenr's Avatar
    Join Date
    Aug 2011
    Location
    South Africa
    Posts
    168

    Default

    I tried HTML5 and HTML5 Dynamic no difference

    Setting quirks mode also Made no difference

  6. #6
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Quote Originally Posted by warrenr View Post
    Hi Mike

    Thanks for taking the time to look at it

    Please have a look at my test site and go to the Contact Us page

    http://viewmysite.co.za
    Looks like you may have a jquery conflict on the contact page.

    You can try to manually remove the line containing jquery-ui.js in the head and see if this resolves the conflict. If it does you can use Tommy's jquery loader to load only one instance and see if you can resolve the conflict that way

    Click image for larger version. 

Name:	jquery_conflict_7-8-2014.jpg 
Views:	313 
Size:	94.9 KB 
ID:	1789
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  7. #7
    Senior Member warrenr's Avatar
    Join Date
    Aug 2011
    Location
    South Africa
    Posts
    168

    Default

    Removed jquery-ui.js as suggested, but still the same result, please have a look http://viewmysite.co.za

  8. #8
    Banned EtienneC's Avatar
    Join Date
    Jul 2010
    Location
    Doylestowm, PA
    Posts
    324

    Default

    It looks like the problem is that some files are not on the site:

    /assets/shims/styles/shim.css
    /assets/shims/form-core.js
    /assets/shims/form-number-date.js
    /assets/shims/dom-extend.js

  9. #9
    Senior Member warrenr's Avatar
    Join Date
    Aug 2011
    Location
    South Africa
    Posts
    168

    Default

    If that's the case Why??

    I have sites that don't use the Carousel but do use the Validation and they work fine.

    As you can see by the other pages on the test site the carousel works fine without the Validation routine!

    Why on the page wiith the Carousel and the validation Routine do files disappear?

  10. #10
    Banned EtienneC's Avatar
    Join Date
    Jul 2010
    Location
    Doylestowm, PA
    Posts
    324

    Default

    The Contact Us page has a form in the main page's main layout (i.e. not in masterborder). Because of this form, the missing files above are causing an error that is preventing the carousel from loading properly.

    Fix the missing files on the webserver (e.g. use FTP client), and then try reloading the page.

    I don't think that the missing files disappeared. Attempts to publish those files failed for some reason.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •