"Ask a question Form" reset content typed on fields after sending with error

Started by neleausta, November 27, 2017, 17:10:33 PM

Previous topic - Next topic

neleausta

On VirtueMart 3.2.6 once trying to send a message thorugh "Ask a question" but whenever there's error the modal box refreshes and the content disappear.
It's quite annoying because user is forced to retype the entire message.
Any fix for this??? Force the refresh to remember all the data already typed on inputboxes
Many Thanks

jenkinhill

What sort of error?  The usual "error" is that there are not enough characters typed, but works OK here using default VM templates, when not enough characters the warning pops up but the data is not cleared.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

neleausta

Try filling out the message textarea first and click the send button, pretending you forgot to fill the name and the email inputboxes.
Of course the form isn't sent because mandatory fields (name and email) are missing, but after the refresh of the page the message textarea is cleared out, and the user is forced to retype the enitre message. I think this is quite annoying, isn't it?
Many thanks

jenkinhill

Again using default templates the text is not cleared and the missing fields are highlighted.


image upload api
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum