Results 1 to 3 of 3

Thread: Prevent Double "$$"

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

    Prevent Double "$$"

    Quite often I have users who enter the price for a product with the dollar sign resulting in a number like: "$$160.00" Is there anyway to prevent a double dollar sign?

  2. #2
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Prevent Double "$$"

    I recommend adding a note or some javascript validation on the form letting them know they don't need to enter a currency symbol. Another option would be to write a small function that strips out any currency characters after the form has been submitted.

  3. #3
    Junior Member
    Not a Verified Customer
    geezerd's Avatar
    Join Date
    Dec 2009
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Prevent Double "$$"

    I recommend adding a note or some javascript validation on the form letting them know they don't need to enter a currency symbol. Another option would be to write a small function that strips out any currency characters after the form has been submitted.
    ...and the Pompous *** Award goes to....... dcowgill! Congratulations! Care to say a few words!?
    No? OK, then how about giving a clear answer to a question posed by a paying customer?
    One that maybe doesn't live in Code World? You know, those people you see when you're not sitting alone in a dark room staring at a computer screen. Remember them? The ones that don't think in binary?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add "SOLD" to items that are gone
    By tiffany in forum ClassiPress General Discussion
    Replies: 3
    Last Post: May 29th, 2009, 01:32 AM