Results 1 to 3 of 3

Thread: Add additional validations for custom fields

  1. #1
    Marketplace Seller demonoid's Avatar
    Join Date
    Aug 2011
    Location
    Australia
    Posts
    204
    Thanks
    63
    Thanked 26 Times in 23 Posts

    Add additional validations for custom fields

    I would like to add extra validations for custom fields being used for listings.

    Basically, when a listing is being created or edited - I want additional validation to be run on some custom fields (checking that input is numbers/digits only).

    As there is no way to limit custom fields to number type rather than text type (I spent a lot of time trying), I need to add validation to ensure that certain custom fields only contain numbers.

    I've tried a whole bunch of approaches and nothing is working. I think the only way it could work in the theme is to add additional form validation.

    If someone is able to provide code/instructions to achieve the above, it would be greatly appreciated!

  2. #2
    Marketplace Seller demonoid's Avatar
    Join Date
    Aug 2011
    Location
    Australia
    Posts
    204
    Thanks
    63
    Thanked 26 Times in 23 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    matthewkotze's Avatar
    Join Date
    May 2014
    Location
    United Kingdom
    Posts
    19
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. add additional custom fields here to include them in search results
    By knowlesy27 in forum JobRoller General Discussion
    Replies: 9
    Last Post: October 11th, 2017, 12:24 AM
  2. Additional Fields
    By cyberwebmaster in forum Vantage General Discussion (Legacy)
    Replies: 3
    Last Post: July 29th, 2013, 01:21 PM
  3. Additional Fields
    By cyberwebmaster in forum Help Using Vantage (Legacy)
    Replies: 3
    Last Post: July 29th, 2013, 01:21 PM
  4. add additional custom fields here to include them in search results
    By knowlesy27 in forum Report JobRoller Bugs
    Replies: 5
    Last Post: November 6th, 2012, 03:31 PM