Results 1 to 1 of 1

Thread: How to check the value particular custom field

  1. #1
    Thread Starter
    manishkhullar's Avatar
    Join Date
    Nov 2012
    Thanked 15 Times in 14 Posts

    How to check the value particular custom field

    I need a code that checks the value of a particular custom field and displays a text message accordingly.
    Can u suggest a code where I can check the value of certain custom field.
    Like if (cp_type_of_user = buyer) then echo "I want to Buy" elseif (cp_type_of_user = seller) echo "I want to sell" else echo "visitor"
    A perfect place to outsource your SEO requirements. Check SEO prices in Australia.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to make cp_region field a check box and NOT a drop down
    By mrjeremylaw in forum ClassiPress General Discussion
    Replies: 0
    Last Post: May 24th, 2013, 12:40 PM
  2. Custom Field - check boxes
    By giuseppe in forum WordPress General Discussion
    Replies: 2
    Last Post: March 15th, 2013, 04:52 AM
  3. Is there a way to have a second email field to check misspell.
    By mouradbouikni in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: November 22nd, 2011, 11:49 AM
  4. Check price field for numeric only
    By steeld in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: November 1st, 2010, 09:18 AM
  5. could custom field types add a check box ?
    By b2bexpress in forum Help Using ClassiPress
    Replies: 2
    Last Post: June 6th, 2010, 09:42 PM