AutoDirector forum

The AutoDirector support and advice forum

How to reset (clear) "contact us..." form"

Post Reply

Page: 1

Author Post
Member
Registered: Aug 2008
Posts: 17
When you submit a "contact us about this vehicle" form it retains the values for the next inquiry (I assume it stores it in cookies? When does it not clear it out?). Personally I think that is really useful but the client (who is always right :-) doesn't want it to be retained and wants a blank form each time.

How can I reset the form fields to blank each time. Ordinarily it would be easy in Javascript but since your code gets loaded at runtime I'm guessing it won't have the effect (unless I knew what the form and field are called and load it after the main auto-director javascript)

Another option would be to optionally allow for the standard 'Reset Form' button (the site owner coudl choice which method they want). That way the form data can be preloaded but with a click of the button the end user they can clear out the form fields.
Administrator
Registered: Apr 2008
Posts: 324
Hi Sevans,

It only retains the name, email and telephone number for that browsing session. If you close the page or visit another, it won't be remembered. It's remembered in JavaScript variables, so they'll be lost on any page refresh.

I suppose this could be a problem if you've set up some sort of web kiosk, but it shouldn't be for most other situations. Does your client realise that?

Let me know if they still want it removed and I'll see what I can do...
_______________
AutoDirector administrator
Member
Registered: Aug 2008
Posts: 17
On my system the information is more stubborn. If I enter the contact info and submit it the information it is retained (even the "questions") even if I refresh the page, or if I open up a new tab (Firefox) and visit that website again the info stays there. Or if I switch to a completely different website (say www.ibm.com) and come back (via the browser history) it is retrained. Even if I close all of the browsers windows and then up a new window and go back to the site the information is retained.

So about the only way it does clear out is if I quit the browser and start it back up. In a car dealer the browse could stay open all day. Maybe programs like Firefox, Safari, Opera hold onto it longer than Explorer.

It might be a bit of a security issue to if people are browsing this showrooms via their mobile phones. For example the Sales guys wants to show a potential client a car and if he left it running it might show private info.

Post Reply

Page: 1