Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Posts
    5
    Plugin Contributions
    0

    Default Blank fields after form validation error

    My forms are getting blank after validation error.
    For instance when customer filled in the create account form and forgot to check the box about agreement to Privacy Policy.
    An error notice occurs, as it should, but all filled fields are blank again.

    Please suggest me where the cause might be?

    Here is the address
    http://www.tesor.pl/create_account

  2. #2
    Join Date
    Dec 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Blank fields after form validation error

    how do you resolve this question ?thanks

  3. #3
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Re: Blank fields after form validation error

    Am wondering same thing, I am getting this error too, after a state is not entered and it asks you to choose a drop down... the rest of the form is blank.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Blank fields after form validation error

    You need to find the PHP error that is causing part of the page to be blank:
    https://www.zen-cart.com/tutorials/index.php?article=82
    https://www.zen-cart.com/tutorials/index.php?article=87
    Failing that, inspect all your files for mismatches between your customizations and the original files, to see what you've broken:
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Re: Blank fields after form validation error

    Its not the page being blank, the page is OK, its the create account form fields are blank after a validation error (or "please choose a state from the drop down"). Its like the fields entered in the original form are lost and not being entered in the form fields again after validation error.

    I have not customised anything to do with the create account pages, which is why I am a little stumped. I cant think of what else I may have customised, not account creating related, that would affect this.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Blank fields after form validation error

    Well, I just did a quick test here, and it doesn't blank out the fields on me. So, it seems that a fresh clean install without customizations appears to work fine. Thus, it suggests something's amuck with one of your addons or customizations. I'd start with the comparison approach discussed in the Diagnosing Obscure Issues link I posted earlier.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Form validation for input text fields?
    By vooboo13 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 21 Jun 2010, 04:56 PM
  2. Blank Page after form completion
    By MrPickle in forum General Questions
    Replies: 4
    Last Post: 13 Apr 2010, 04:56 PM
  3. odd fields being added to URL after form submit
    By buckit in forum Basic Configuration
    Replies: 4
    Last Post: 6 Jan 2010, 08:32 PM
  4. Create Account Form Blank after Submit
    By VitalBodies in forum General Questions
    Replies: 5
    Last Post: 1 Mar 2009, 02:55 PM

Posting Permissions

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