Multiple Traveler Info Required!

Homepage Forums WP Travel Multiple Traveler Info Required!

This topic contains 3 replies, has 3 voices, and was last updated by  wensolutions 5 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14082

    privatejeep
    Participant

    I 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?

    #14108

    Support Team
    Keymaster

    Hello @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.

    #14133

    privatejeep
    Participant

    Code 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.

    #14136

    wensolutions
    Keymaster

    Hello @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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.