BuddyDev

Search

BP xProfile Custom field types, about From/To Values…

  • Participant
    Level: Enlightened
    Posts: 60
    tangpage on #33513

    Commas is disappearing from the values, anyway to show commas, and others, just like Text Box for each From / To input? Anyway to do that, please?

    Stay Safe, Best Regards.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #33521

    Hi,
    Thank you for reporting.

    Please post em a screenshot or link me to a page showing the issue? Do you want to replace the ‘-‘ character with comma?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 60
    tangpage on #33527

    yes, please. cuz, if i do “Los Angeles, CA, USA” – “San Francisco, CA, USA”, it will show like “LosAngelesCAUSA” – “SanFranciscoCAUSA”… that’s weird, and not cool, lol. instead of replacing the commas or other character, just two normal text box input? that will make this field more flexible, more useful…

    Best Regards.

  • Participant
    Level: Enlightened
    Posts: 60
    tangpage on #33623

    So, Dear Mr. BuddyDev, any idea?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #33627

    Hi,
    The field is unable to handle values with comma.

    Since our initial assumption was date, we stored the values as comma separated value( e.g 3-4) is stored as (3,4).
    The field id provided in the display callback is not reliable and we cloud not use the meta due to that. For now, I do not see a simple solution for fields containing comma( we can not change the storage structure a it will break old installs).

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved