"Only require for first group member" Not Working?

  • Brian F
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 10 months ago #81089 by Brian F
For the First Name and Last Name fields I have "Only require for first group member" set to Yes. In group registration, "Member 1" correctly requires those fields, "Member 2" correctly removed the validate[required] and is not required; however, for Member 3 and above it's saying that the First Name and Last Name fields are required, and in the code I still see "validate[required]" assigned to those fields for Member 3 and above.

Is anyone else experiencing the same issue, if the First Name and Last Name's "Only require for first group member" is set to Yes it's not required for Member 2, but is still required for Members 3 and above?

Thanks!

EB v2.4.3
J! v3.5.1

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

More
9 years 10 months ago #81118 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic "Only require for first group member" Not Working?
Look like a bug :(. A quick fix would be opening the field administrator/components/com_eventbooking/libraries\rad\form/field.php, find the method makeFieldOptional and remove this code:
Code:
if (!$this->row->required) { return; }

I will check it carefully for a proper fix later (today or on tomorrow)

Regards,

Tuan
The following user(s) said Thank You: Brian F

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

More
9 years 10 months ago #81535 by Anna Bruhn
I also need this option to work, I WANT a field that is not showing up (both First Name and Last Name in all the group members registrations) no matter how I set the option.

Thanks!

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

Moderators: Tuan Pham Ngoc