Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Custom field Validation and Postfix

  1. #1
    Community Partner scarstens's Avatar
    Join Date
    Apr 2010
    Location
    Cave Creek, AZ USA
    Posts
    912
    Thanks
    2
    Thanked 129 Times in 86 Posts

    Custom field Validation and Postfix

    I want to be able to validate my custom fields, even if at first it has to be using techie regex code. This way people are not tyiping "call whatever number you want" in my phone number field and "abdc" into my price field.

    I also want to be able to give some of my custom fields a postfix. A good example would be listing number of "widgets" included in the sale. I want it to say "200 widgets" when they put 200 in the inventory field. "widgets" is my postfix to the custom field and then I could validate that the inventory must be a number below 1,000,000 or something like that.

    Thoughts?
    Last edited by pepsi; August 29th, 2010 at 07:33 PM.
    ~ Seth Carstens, Sethmatics Inc.


  2. #2
    Veteran rodeoramsey's Avatar
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    277
    Thanks
    3
    Thanked 13 Times in 10 Posts

    Re: Custom field Validation and Postfix

    I second this. Would like to prevent people from typing $1,000.00 or $1000 or 1K or $1 OBO or whatever. Very frustrating. Also, would like this for phone numbers. I agree with the above poster about postfix also. Would really be helpful making the ad system more uniform and potentially help search results when a more advanced search filter is created!
    ~Ramsey

  3. #3
    Community Partner scarstens's Avatar
    Join Date
    Apr 2010
    Location
    Cave Creek, AZ USA
    Posts
    912
    Thanks
    2
    Thanked 129 Times in 86 Posts

    Re: Custom field Validation and Postfix

    Yes, an advanced search filter is another feature request I wanted but didn't want to flood the forum on my first real night posting here
    ~ Seth Carstens, Sethmatics Inc.


  4. #4
    Community Partner scarstens's Avatar
    Join Date
    Apr 2010
    Location
    Cave Creek, AZ USA
    Posts
    912
    Thanks
    2
    Thanked 129 Times in 86 Posts

    Re: Custom field Validation and Postfix

    Fixed the price issue and posted it here in the mod tutorial thread:
    http://appthemes.com/forum/showthrea...r-Price-Format
    Last edited by pepsi; July 9th, 2010 at 05:46 AM.
    ~ Seth Carstens, Sethmatics Inc.


  5. #5
    Veteran rodeoramsey's Avatar
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    277
    Thanks
    3
    Thanked 13 Times in 10 Posts

    Re: Custom field Validation and Postfix

    Ideally I would *LOVE* to see some sort of jQuery form validation in place. I may try my hand at applying something like this: http://www.position-absolute.com/articl ... is-a-mess/
    ~Ramsey

  6. #6
    Community Partner scarstens's Avatar
    Join Date
    Apr 2010
    Location
    Cave Creek, AZ USA
    Posts
    912
    Thanks
    2
    Thanked 129 Times in 86 Posts

    Re: Custom field Validation and Postfix

    awesome link, let us know how it goes if you try it.
    ~ Seth Carstens, Sethmatics Inc.


  7. #7
    Junior Member
    Not a Verified Customer
    commandos's Avatar
    Join Date
    Apr 2010
    Location
    Canada
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Custom field Validation and Postfix

    Any words about this ? maybe we will have it in 3.0.3 ?

  8. #8
    Community Partner scarstens's Avatar
    Join Date
    Apr 2010
    Location
    Cave Creek, AZ USA
    Posts
    912
    Thanks
    2
    Thanked 129 Times in 86 Posts

    Re: Custom field Validation and Postfix

    validation is the next thing I'll be working on in my "custom theme" that will be free for paying customers.
    For updates -
    Watch this site: http://cpmodlite.smwphosting.com/
    And watch this thread: http://appthemes.com/forum/showthrea...*Plus*-SM-Mods
    Last edited by pepsi; July 9th, 2010 at 05:47 AM.
    ~ Seth Carstens, Sethmatics Inc.


  9. #9
    Member maggisam's Avatar
    Join Date
    Feb 2010
    Location
    Reykjavik, Iceland
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi there scarstens.

    Any news yet on the validation code.

    I would really like a feature where phone number entered, are always outputted like this ###-####

    Sincerely
    Magnus Gunnarsson

  10. #10
    Member maggisam's Avatar
    Join Date
    Feb 2010
    Location
    Reykjavik, Iceland
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post
    Bumping this

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom field input displayed in table format?
    By rtibbs4 in forum ClassiPress General Discussion
    Replies: 4
    Last Post: December 18th, 2009, 03:55 PM
  2. Adding a custom field below the footer
    By sarge in forum ClassiPress General Discussion
    Replies: 4
    Last Post: August 27th, 2009, 09:42 PM