November 4, 2018 at 09:56 #3280
Do you have suggestions on how to use a price field $00.00 for example. Not as a ‘range’ or as a ‘decimal’ but a field which utilises the number pad and not the standard qwerty keyboard on devices.
Small request, but have been wondering about it 🙂November 6, 2018 at 17:50 #3357
As BP Profile Search uses the type selected for your XProfile field to create its search filters, it seems best to use the “Number” field type. It will allow you to create a BP Profile Search filter with a “ranging from… to…” type of mechanism. Usually, it’s the way price values are used on e-commmerce website or on freelancer hiring websites.
To display your price field as a currency, you could consider using one of the following jQuery plugin to format your input values:
In the event that you wish to write a jQuery snippet for your website, please use the following code template:
You can add your code snippet using Code Snippets (https://wordpress.org/plugins/code-snippets/), like you did previously.
It should do the trick. 😉
Regards,November 15, 2018 at 13:24 #3530
Applied your ‘range’ solution.
No text input appears on home search text fields when being entered.
It is set to ‘range’. When enter text, nothing shows. But when press search button, it applies the filter.
Why does no text appear when typing, but result as an applied filter?
Is it cause no members have a set price range within the subject entered price? Or is something else broken.
Please help.November 17, 2018 at 13:57 #3614
If we’re not mistaken, the Range controls from BP Profile Search are simple text fields that will receive user inputs. BP Profile Search is not building its controls by selecting the price values registered by your members.
Maybe, an option that you’ve been missing exists. It’s best to ask to the plugin author for further help.
Otherwise, changing the way these controls are built will require custom development if you wish to enhance user experience.
Regards,November 18, 2018 at 07:12 #3624
Thanks, makes perfect sense. Will just use as adv serch filter and not home page filter.November 20, 2018 at 17:28 #3677
OK, seems fine that way too. 🙂
The topic ‘Price x profile field’ is closed to new replies.