- Posts: 31
- Thank you received: 0
Get Rid of Pre Filled Forms in Event Booking
- Fred Pouillot
- Topic Author
- Offline
- Junior Member
Less
More
8 years 2 months ago #78380
by Fred Pouillot
Get Rid of Pre Filled Forms in Event Booking was created by Fred Pouillot
Hello to the Ossolution Team,
When I'm logged in the front end, event registration forms are often pre-filled with the previous entered registration name, password and mail.
However, for a personal project, I need these forms to be free when a logged in user register.
I have not yet been able to find the part of the code which control these prefilled "values". Could you help me identify them so I can get rid of my problem ?
Thanks,
Fred
When I'm logged in the front end, event registration forms are often pre-filled with the previous entered registration name, password and mail.
However, for a personal project, I need these forms to be free when a logged in user register.
I have not yet been able to find the part of the code which control these prefilled "values". Could you help me identify them so I can get rid of my problem ?
Thanks,
Fred
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 2 months ago #78411
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Get Rid of Pre Filled Forms in Event Booking
Hi Fred
You will need to look at the code in the file components/com_eventbooking/view/register/html.php and change it to make it works
1. Find this line of code
2. Add this line before that line:
After that, check it again (there are several codes line that in the file, make sure you make all changes - it depends on the registration types you are using on your site)
Tuan
You will need to look at the code in the file components/com_eventbooking/view/register/html.php and change it to make it works
1. Find this line of code
Code:
$form->bind($data, $useDefault);
2. Add this line before that line:
Code:
$data = array();
After that, check it again (there are several codes line that in the file, make sure you make all changes - it depends on the registration types you are using on your site)
Tuan
The following user(s) said Thank You: Fred Pouillot
Please Log in or Create an account to join the conversation.
- Fred Pouillot
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
8 years 1 month ago #79465
by Fred Pouillot
Replied by Fred Pouillot on topic Get Rid of Pre Filled Forms in Event Booking
Hey thank you Tuan, worked like a charm !
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 1 month ago #79486
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Get Rid of Pre Filled Forms in Event Booking
Great. Thanks Fred for confirming
Tuan
Tuan
The following user(s) said Thank You: Fred Pouillot
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.