- Posts: 8
- Thank you received: 0
Mandatory Field or required field
- KBS PUTRAJAYA
- Topic Author
- Offline
- New Member
Less
More
3 months 6 days ago #168895
by KBS PUTRAJAYA
Mandatory Field or required field was created by KBS PUTRAJAYA
Hi and good day,
How can i make the certain field in my submit event form mandatory/required?
tq.
How can i make the certain field in my submit event form mandatory/required?
tq.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 months 6 days ago #168897
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mandatory Field or required field
Hello
Exactly what fields you are talking about? Please give us more information so that I can understand your request and give you the answer
Tuan
Exactly what fields you are talking about? Please give us more information so that I can understand your request and give you the answer
Tuan
Please Log in or Create an account to join the conversation.
- KBS PUTRAJAYA
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 months 6 days ago #168900
by KBS PUTRAJAYA
Replied by KBS PUTRAJAYA on topic Mandatory Field or required field
i need to make the "category" and "thumb image" mandatory.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 months 5 days ago #168903
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mandatory Field or required field
Hi
1. Category would be required by default.
2. For thumbnail image, it's optional. If you want it to be required, you will need to implement some kind of server validation to make it required. The file you can try to customize code is administrator/components/com_eventbooking/model/common/event.php , method validateFormInput
If you are success with the validation, the next step would be implement the change using override so that it won't be lost when you update to future releases of the extension
Regards,
Tuan
1. Category would be required by default.
2. For thumbnail image, it's optional. If you want it to be required, you will need to implement some kind of server validation to make it required. The file you can try to customize code is administrator/components/com_eventbooking/model/common/event.php , method validateFormInput
If you are success with the validation, the next step would be implement the change using override so that it won't be lost when you update to future releases of the extension
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- KBS PUTRAJAYA
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 months 4 days ago #168915
by KBS PUTRAJAYA
Replied by KBS PUTRAJAYA on topic Mandatory Field or required field
ok tq.. i'll it try then. tq ya.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 months 4 days ago #168916
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Mandatory Field or required field
OK. Good luck with the customization
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
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.