Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Submission Form – how to make mandatory fields not required

This topic contains 2 replies, has 2 voices, and was last updated by  crerem 3 years, 5 months ago.

  • Author
    Posts
  • #35247

    othmaneAnnaAnna

    Hello,
    I need to make required fields not required when posting a new classified. How can I achieve this? i want to make image upload not required

    Thanks in advance.

    Hello,
    You need to edit the user-dashboard-add.php and look for this lines

    if($submit_title==”){
    $has_errors=true;
    $errors[]=__(‘Please submit a title for your property’,’wpestate’);
    }

    You will find several check that can be deleted or commented. You need to do this twice – for add and edit. (both are on the this files).

    Thanks

    • This topic was modified 3 years, 5 months ago by  Anna.
    • This topic was modified 2 years, 4 months ago by  Anna.
    • This topic was modified 2 years, 2 months ago by  Anna.
  • #35486

    Anna
    Keymaster

    Hi Othmane,

    The modification must be done multiple php files. I need a developer’s confirmation before I post the exact files, because this is a sensitive edit. He’s still reviewing this question.

    Will try to post a reply later today.

    Thank you
    Anna

  • #35737

    crerem

    Hello,
    You need to edit the user-dashboard-add.php and look for this lines
    if($submit_title==”){
    $has_errors=true;
    $errors[]=__(‘Please submit a title for your property’,’wpestate’);
    }

    You will fiind several check that can be delated or comneted. You need to do this twice – for add and edit. (both are on the this fils)

    Thanks

You must be logged in to reply to this topic.