- Posts: 174
- Thank you received: 4
EB registered user not bringing up details
- Mike
- Topic Author
- Offline
- Elite Member
-
(1) When I try to register for an event, and am already registered on the website, but NOT signed on to the website, my details are not populated in the registration screen, even though the message "If you have an account already, just enter username and the system will assign this registration to your account " is displayed.
If I log onto the website, the detais DO appear properly, and the message "If you have an account.. etc", does NOT appear, which of course is good.
So my issue is at (1) above.
My OTHER issue is on validation of a custom field date on the registration screen.
(2) I have defined a Custom Field (eb_Date_Of_Birth ) which is a datetime field.
The calendar selection for this field works fine, but I want to validate it in the case where the user does not use the calendar, and just keys it in. (if a bad date is entered, the component accepts it, but it causes problems in the database, as you would expect).
I cannot find where to put the code for validation... could you please give me a hint on which scripts, and where to put this code?
I can maybe come up with the code myself (I think)
regards
Mike
.....and society inscribe on its banners...
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 => The extension could not populate the detail on registration if you just only enter username, it can only populate the data if you are logged in. Anyway, I have an idea to improve the registration process and will implement it , have it available in the extension in less than two weeks from today and that will solve your issue. So we won't discuss more about it, just wait for me, please.
2=> The solution is editing custom field class. The steps are :
- Open the file components/com_eventbooking/helper/fields.php
- Find the function _renderDateTime
- Find the code below :
- Change it to :
By doing that, users won't be able to enter the date into the textbox. They can only choose the date by clicking on calendar icon and that will solve the issue .
Hope this help
Tuan
Please Log in or Create an account to join the conversation.
- Mike
- Topic Author
- Offline
- Elite Member
-
- Posts: 174
- Thank you received: 4
Thank you so much.... No 2... worked like magic of course.
Interested to see what change you make for No 1.
thanks again!
Mike
I
Tuan Pham Ngoc wrote: HI
1 => The extension could not populate the detail on registration if you just only enter username, ....... SNIP SNIP SNIP........ just wait for me, please.
2=> The solution is editing custom field class. The steps are :
- Open the file components/com_eventbooking/helper/fields.php
....... SNIP SNIP SNIP........... They can only choose the date by clicking on calendar icon and that will solve the issue .
Tuan
.....and society inscribe on its banners...
Please Log in or Create an account to join the conversation.
- Andrew
- Offline
- New Member
-
- Posts: 12
- Thank you received: 0
How does this work in the latest EB? Can't seem to find that line in this file.
Please Log in or Create an account to join the conversation.
- Andrew
- Offline
- New Member
-
- Posts: 12
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Submit support ticket sending us admin and FTP account of your site. I will edit the code to make it works for you !
Tuan
Please Log in or Create an account to join the conversation.
- Emma Richardson
- Offline
- Junior Member
-
- Posts: 23
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
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.