- Posts: 103
- Thank you received: 1
Questions about Payment Form extension
Form payment amount field
- Jeff
- Topic Author
- Offline
- Premium Member
Less
More
5 years 11 months ago #121305
by Jeff
Form payment amount field was created by Jeff
Hi,
We have a client who's form is remembering old payment amount values.
How can we force browsers not to autofill old values and leave filed blank?
Thanks
We have a client who's form is remembering old payment amount values.
How can we force browsers not to autofill old values and leave filed blank?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 11 months ago #121308
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Form payment amount field
Hello Jeff
The main question here is did he login while accessing to the form or not? If he logged in, the system remembers his old data and fill-in the form automatically so that they won't have to re-enter information like first_name, last_name... each time they access to the form
If they are not logged in and the form fields are still filled automatically, I think it's because cache is enabled on the site and the page is cached
Tuan
The main question here is did he login while accessing to the form or not? If he logged in, the system remembers his old data and fill-in the form automatically so that they won't have to re-enter information like first_name, last_name... each time they access to the form
If they are not logged in and the form fields are still filled automatically, I think it's because cache is enabled on the site and the page is cached
Tuan
Please Log in or Create an account to join the conversation.
- Jeff
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 1
5 years 11 months ago #121328
by Jeff
Replied by Jeff on topic Form payment amount field
Yes they are logged in Joomla users. We need to find a way to stop the field being autofilled.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 11 months ago #121338
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Form payment amount field
Hi Jeff
For this, you would have to customize the code
1. Open the file components/com_pmform/View/Form/Html.php, find this line of code:
$data = PMFormHelper::getFormData($rowFields, $userId, $config);
2. Change it to
$data = [];
After that, the issue should be sorted
Regards,
Tuan
For this, you would have to customize the code
1. Open the file components/com_pmform/View/Form/Html.php, find this line of code:
$data = PMFormHelper::getFormData($rowFields, $userId, $config);
2. Change it to
$data = [];
After that, the issue should be sorted
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.