Home › Toolset Professional Support › [Resolved] hide the value of the field if value like specific value
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - | - | 9:00 – 13:00 |
14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - | - | 14:00 – 18:00 |
Supporter timezone: Africa/Casablanca (GMT+01:00)
Dears,
I have email field with specific pre-entered email value example, 45@test.om
I would like to hide the email if the email ends like @test.om
and show email if its end not like @test.om
how to do it?
Hello and thank you for contacting the Toolset support.
This will require custom code. Conditional blocks and shortcodes can accept a custom shortcode or a custom function in their conditions. The custom code or function needs to be registered in Toolset->Settings->Front-end Content. Check this article for examples https://toolset.com/documentation/programmer-reference/views/using-custom-functions-in-conditions/
I hope this helps. Let me know if you have any questions.