+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to add price sepator?

  1. #1
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248

    How to add price sepator?

    Hi Flynax,

    How do I add separator for price in price listing field in adding listing and searching listing? For example:
    1,000
    1,000,000
    1,000,000,000

    For real estate listings, large numbers are often used, so it would be easier for user to see 5,450,000 rather than 5450000
    Last edited by Tim Copper; March 7, 2022 at 03:20 AM.

  2. #2
    Senior Member
    Join Date
    Sep 2019
    Location
    Australia mate.
    Posts
    164

  3. #3
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Quote Originally Posted by Graham Jupp View Post
    Hey Graham, thanks for the response. Unfortunately it's not what I'm looking for. I'm looking to add price separator while inputing price in adding listing or searching for listing.

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    It can be achieved via customization to format the price on the fly

  5. #5
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Quote Originally Posted by Rudi View Post
    Hello,

    It can be achieved via customization to format the price on the fly
    Hi Rudi,

    Can you instruct us to do the format? Would Flynax consider adding this feature in future update?

    Thanks

  6. #6
    Senior Member
    Join Date
    Sep 2019
    Location
    Australia mate.
    Posts
    164
    This page may help, although I have no real coding experience with regard to how to implement it into Flynax script.

    https://codepen.io/nfisher/pen/YYJoYE

  7. #7
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Quote Originally Posted by Graham Jupp View Post
    This page may help, although I have no real coding experience with regard to how to implement it into Flynax script.

    https://codepen.io/nfisher/pen/YYJoYE
    Hi Graham, thank you for the reference. I just looked at it and it still a bit off from my need. I need the system to add separator "," for thousands in the price field, in focus, while user typing. So they can see what they are inputing:
    1,000,000.

    In your reference, user still see 1000000 instead of 1,000,000. They can see 1,000,000 when the field is out focus.

  8. #8
    Senior Member
    Join Date
    Sep 2019
    Location
    Australia mate.
    Posts
    164
    This might get you in the right direction in that case:

    https://codepen.io/kdivya/pen/oxVeWz

  9. #9
    Master
    Join Date
    Apr 2021
    Location
    USA
    Posts
    248
    Quote Originally Posted by Graham Jupp View Post
    This might get you in the right direction in that case:

    https://codepen.io/kdivya/pen/oxVeWz
    Yes thats it. Thank you so much Graham,

    Can we apply this code to our flynax script?

  10. #10
    Senior Member
    Join Date
    Sep 2019
    Location
    Australia mate.
    Posts
    164
    Unfortunately I'm not a coder Tim but perhaps someone else can share how to implement. The Flynax guys sometimes offer the solution if it's nothing too complicated. Rudi?

+ Reply to Thread