Is it possible to manipulate data to hide or replace anything with $XXX as an example? Want to prevent certain users from seeing price.
You would need some sort of login and hide or show the content based on if user is logged in or not. You could also have different levels of authentication and hide or show based on authentication level.
But yea, you would need some sort of login to differentiate the users from each other,
Thanks Brad. Problem is the monetary value is in the middle of a string.
If it is static content you could probably wrap that part in a span tag and show and hide that? Hard to say without knowing your use case. Is the contact static info or from a database? But I don’t see no way around having to have a login system.
Its content from a DB. Example The string looks like this:
“Services xyx at $959 per hour”
I suspect you will have to do some data formatting of the result…
Perhaps split() at the $ into 2 strings then slit again at the first following space for the latter half of the split then concatenate the start+‘xxxx’+end of the string. Sorry don’t have time to actually do it but should be possible I think.
I will give this a shot, thank all