evanrolfe / test

Yacht Fractions
0 stars 0 forks source link

Yachtshare/create form: Save for later #5

Closed evanrolfe closed 11 years ago

evanrolfe commented 11 years ago

With regards to the Save for later functionality and the "Are you sure you want to exit" prompt on the yachtshare/create form found at:

http://yacht-fractions.co.uk/yachtshare/create

(Please test with the latest version on your localhost though i.e http://localhost/yachtshare/create)

FROM THE GOOGLE DOC:

NOTE BY EVAN: 
The user will be prompted on exit/refresh (in yachtshare/create) if and only if:
1. The form has been automatically filled out with the details of another boat (even if no changes have been made by user)      i.e. /yachtshare/create/1
2. A change in one of the form fields has been made by the user and they have not clicked “Save for later” since those changes have been made

I would have the browser warning come up any time they closed the form unless it’s SAVE AND LOGOUT or SUBMIT. I think this wil lgive him more confidence that the warning is working

Can you elaborate on this? And were you able to test my changes made to this form on the newest version?

chris31519 commented 11 years ago

Much better, use this wording. Display password as text.

Seller Registration: please enter the following information to create your seller account. You can access your account later by logging in with the email and password that you enter here:

Your email address:

A password of your choice:

The name of your boat:

chris31519 commented 11 years ago

I can still close out the form without warning message, even though changes were made. Cna you make so it gives the warning at any time except SAVE AND LOGOUT or SUBMIT?

http://php.ais.at/evan/yacht/yachtshare/update/608

cr18@ais.at pass

evanrolfe commented 11 years ago

Oh i see now, once you Save for later, then come back to it, it uses a different view which doesn't have the javascript included to show the prompt on exit. Can't believe i didn't catch that! I'm on it now.