field "required" for other travelers

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14441
    enricogan
    Participant

    Hello
    if I make the compilation of a field “required”, the compilation is “required” only for the leading traveler. While for other travelers the compilation is not required.

    Can you fix it in the next updates?
    Thank you

    #14447
    wensolutions
    Keymaster

    Hello @enricogan,

    Yes, the fields for other traveler is not made compulsory as most the user did not want the feature.

    But there is nothing to worry as we do have the filter using which you can make every setting in the other traveler form same as the lead traveler.

    For this you need to activate the child theme. After activating the child theme in your child theme functions.php file add below given code.

    function wp_travel_customize_field( $show_fields ){
    
    return true;
    
    }
    add_filter('wp_travel_require_all_travelers_fields','wp_travel_customize_field');

    Hope this helps.

    Let us know if you have any issues further.

    Thank you.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WP Travel Field Editor’ is closed to new topics and replies.