Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM How to make more fields mandatory? (When submiting listing)

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 4 months ago.

  • Author
    Posts
  • #109893

    Anna
    Keymaster

    in user_dasboard_add.php add this code around line 426

    $submit_drowndow = wp_kses( $_POST[‘property_country’],$allowed_html );

    if($submit_drowndow==”){

    $has_errors=true;

    $errors[]=__(‘Please submit………’,’wpestate’);

    }

    replace┬áproperty_country with the name of your dropdown and “Please submit………” with your error message.

You must be logged in to reply to this topic.