- This topic has 3 replies, 3 voices, and was last updated 3 years, 9 months ago by
wensolutions.
- AuthorPosts
- April 24, 2019 at 3:47 pm #14082
privatejeep
ParticipantI need ASAP for certain fields when multiple travelers are selected that the info be required.
I need First and Last Name and Gender to BE REQUIRED FIELDS!
What is the damn point of allowing multiple travelers in your options and then not giving us the ability to have certain fields required.
This is poor design and a mess for my business. How can I get this fixed asap please?
April 25, 2019 at 6:14 am #14108Support Team
KeymasterHello @private,
We do have the filter using which you will be able to make the multiple traveler field compulsory. But the thing is, whichever field is required in the Lead Traveler form, only those filed will be required in other traveler form field.
Now, if you want to go ahead and do so then please add below-given block of code in your child theme functions.php file.
function wp_travel_customize_field( $show_fields ){ return true; } add_filter('wp_travel_require_all_travelers_fields','wp_travel_customize_field');
Hope this helps.
If you have any issues further then kindly let us know.
Thank you.
April 25, 2019 at 10:24 am #14133privatejeep
ParticipantCode added and works! However, this needed to be a feature in your Field Editor add-on which I bought just for that reason. This should not be added code but part of that plug-in instead.
April 25, 2019 at 11:15 am #14136wensolutions
KeymasterHello @privatejeep,
We have only added the filter as for now and waiting for the feedback from the users. We will definitely note it as the requested feature and will work on it.
Also, we are glad that it worked for you now.
Let us know if you have any issues further.
Thank you.
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.