Results 1 to 3 of 3

Thread: Remove Mandatory Fields

  1. #1
    Thread Starter
    Newbie
    Not a Verified Customer
    theshelbypost's Avatar
    Join Date
    Nov 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove Mandatory Fields

    In classipress to post an ad there are mandatory fields that have to be put in i.e. Name, Price, Description...... The question is, how do you make one of those fields to NOT be mandatory? In my case, I want the Price to NOT be mandatory. thanks for your help

  2. #2
    thegame310's Avatar
    Join Date
    Nov 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove Mandatory Fields

    Bump
    I have the same question.

  3. #3
    Amateur
    Not a Verified Customer
    quirkmedia's Avatar
    Join Date
    Nov 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove Mandatory Fields

    Go to form_process.php

    FIND:

    Code:
    }
    	
    	if ($post_title == "" || $post_cat == "" || $price == "" || $location == "" || $name == "" || $email == "" || $description == "") {
    		$err .= __('Please fill in all mandatory * fields','cp') . "
    ";
    	}

    And Change to this:

    Code:
    }
    	
    	if ($post_title == "" || $post_cat == "" || $location == "" || $name == "" || $email == "" || $description == "") {
    		$err .= __('Please fill in all mandatory * fields','cp') . "
    ";
    	}

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Remove date posted
    By sarge in forum ClassiPress General Discussion
    Replies: 4
    Last Post: December 3rd, 2011, 09:53 AM
  2. Remove some fields
    By knsin0 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 26th, 2009, 01:52 PM