create_account.php data not re inserted

Open to all! Ask other shopowners for help.
Post Reply
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
Has thanked: 7 times
Been thanked: 3 times

create_account.php data not re inserted

Post by loop »

Hi All
I do not know how to solve this:
If i fillout the form with different data (firstnam / lastname / email....and i do not entre DOB) thann i get a error that i need to have DOB (which is ok)
but all the data i put in in the form is gone, only the city field and country are still filled, rest is empty so i have to put in firstname lastname again....

i don't think thats a normal behavior? Can somebody point me to the right direction?
thank you!


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
zipurman
Builder
Posts: 540
Joined: Tue Oct 13, 2020 5:20 pm
Phoenix Version: v
Has thanked: 93 times
Been thanked: 162 times

Re: 1.0.8.9 Questions / Comments / Concerns

Post by zipurman »

@ecartz Found an issue with customer data clearing from fields if other fields dont meet their requirement (blank/too short/etc)

For example, if you try to edit an address and leave the zip/postal as blank. The zip returns the appropriate error and is blank, but now the address is also blanked out? Seems to do this for other fields too, depending on which fields dont meet their requirement. This happens also on new customer sign-up.

Found on 1.0.8.7 - 1.0.8.9 ... not sure how far back it goes.
zipurman
-----------
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: 1.0.8.9 Questions / Comments / Concerns

Post by Kofod95 »

zipurman wrote: Tue Jan 11, 2022 7:37 pm Found on 1.0.8.7 - 1.0.8.9 ... not sure how far back it goes.
Found on 1.0.8.2, but not on 1.0.7.12, so somewhere between those two.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
ozeworks
Certified Developer
Posts: 17
Joined: Tue Dec 21, 2021 2:58 pm
Phoenix Version:
Has thanked: 5 times
Been thanked: 1 time

Re: create_account.php data not re inserted

Post by ozeworks »

What version of Phoenix are you using?
Last edited by ozeworks on Wed Jan 12, 2022 6:53 pm, edited 1 time in total.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: create_account.php data not re inserted

Post by ecartz »

loop wrote: Mon Jan 10, 2022 12:47 pm If i fillout the form with different data (firstnam / lastname / email....and i do not entre DOB) thann i get a error that i need to have DOB (which is ok)
but all the data i put in in the form is gone, only the city field and country are still filled, rest is empty so i have to put in firstname lastname again....
TY. https://github.com/CE-PhoenixCart/Phoen ... 80f4f14c97
ozeworks
Certified Developer
Posts: 17
Joined: Tue Dec 21, 2021 2:58 pm
Phoenix Version:
Has thanked: 5 times
Been thanked: 1 time

Re: create_account.php data not re inserted

Post by ozeworks »

It works on 1.0.8.0 if that helps tracing when it started happening.
zeeshop
Member
Posts: 71
Joined: Sun Jan 10, 2021 11:30 pm
Phoenix Version:
Has thanked: 15 times
Been thanked: 2 times

Re: create_account.php data not re inserted

Post by zeeshop »

I am noticing a similar problem on contact_us.php.

I have Google Recaptcha V2 (Supporter module) installed and if the ReCaptcha box is not ticked and the form is submitted then the page is refreshed, the Full Name and Email address field come blank and information has to be re-entered, however Enquiry message remains in the box.

Thanks
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: create_account.php data not re inserted

Post by ecartz »

zeeshop wrote: Fri Jan 14, 2022 5:58 pm I have Google Recaptcha V2 (Supporter module) installed and if the ReCaptcha box is not ticked and the form is submitted then the page is refreshed, the Full Name and Email address field come blank and information has to be re-entered, however Enquiry message remains in the box.
Have you applied the fix I posted? Does it resolve your problem?
zeeshop
Member
Posts: 71
Joined: Sun Jan 10, 2021 11:30 pm
Phoenix Version:
Has thanked: 15 times
Been thanked: 2 times

Re: create_account.php data not re inserted

Post by zeeshop »

Negative, I posted my message after applying the suggested fix.
Thanks


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply