Custom Field Validation

  • villagesquare
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 8 months ago #4085 by villagesquare
Custom Field Validation was created by villagesquare
Hi. The custom fields that are set to Required seem to not validate when submitting the form. Is there any solutions to this?

Also, the ordering of custom fields is disabled? Is the ordering of these fields currently not supported?

Thanks.

Please Log in or Create an account to join the conversation.

  • villagesquare
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 8 months ago - 13 years 8 months ago #4091 by villagesquare
Replied by villagesquare on topic Re: Custom Field Validation
The solution to this problem is to include the following in components/com_eventbooking/views/register/tmpl/group_member.php or components/com_eventbooking/views/register/tmpl/default.php, inside the CheckData javascript:

if ($this->customField) {
echo $this->customFieldValidation ;
}

Problem solved :-)
Last edit: 13 years 8 months ago by villagesquare.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #4122 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Custom Field Validation
Hi

Thanks for reporting this issues . I checked the code and found the problem as you said . I fixed it and will update it to server in the next few hours .

Sorry for lately response. I was working on some core code of the component to make it extendable by adding new plugins :) .

Thanks again,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc