Results 1 to 7 of 7

Thread: Only numbers allowed in price field

  1. #1
    Thread Starter
    sagekey's Avatar
    Join Date
    Jan 2014
    Location
    Canada
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Only numbers allowed in price field

    I've searched through the forum and tried to understand a few of the modifications that out there circulating however I've had no luck, so I'm hoping someone can either help me understand what these users have previously done or point me in the right direction as to another snippet of code that would be great for this modification I'm needing.

    I'm looking to just have the price filed (when adding a new listing) have it set up that only numbers are required. If they put anything else in "Please Contact", "TBA" etc, it will return with an error so they MUST put in a number "349.00".

    I've visited other threads in the forum and have tried to list them below as I'd appreciate not being sent to a previous thread as I've looked through the few that are already on here. I however can't list any of the URL's.........

    Here is ONE that it will allow me to post that I feel I could take soemthing from with some help?
    http://forums.appthemes.com/classipr...ic-only-25123/ - This seems to be the most accurate however I have absolutely no clue what they are talking about. I know where to find the files and how to modify php to a basic extent, but they haven't given much of a explanation. The "detailed" steps from franho is wrong as I can't find those lines in my step-functions.php file (maybe because this was from 2011 now?) and the answer that majig stated (3rd from bottom post) is even more confusing.

    Any help or advice is greatly appreciated.

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  3. #3
    Thread Starter
    sagekey's Avatar
    Join Date
    Jan 2014
    Location
    Canada
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Newbie nbladmins's Avatar
    Join Date
    Sep 2014
    Location
    United States
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    sagekey's Avatar
    Join Date
    Jan 2014
    Location
    Canada
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    sagekey's Avatar
    Join Date
    Jan 2014
    Location
    Canada
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can restrict Price Field to Numbers only?
    By netguru in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: May 3rd, 2012, 09:43 AM
  2. [MOD NEEDED] Limit the number of characters allowed in the price field
    By luckymohawk in forum ClassiPress General Discussion
    Replies: 1
    Last Post: April 4th, 2012, 09:17 AM
  3. How to restrict form field to numbers only? - Classipress
    By fuzegraphics in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: December 20th, 2011, 07:45 AM
  4. Only allow numbers for ad price
    By Cyrus in forum Help Using ClassiPress
    Replies: 1
    Last Post: May 23rd, 2010, 09:27 PM
  5. Text In Price Field Allowed, Then Stripped On Ad Update
    By netpotion in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: April 23rd, 2010, 09:05 PM