Startseite › Toolset Professional Support › [Gelöst] 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 |
Zeitzone des Unterstützers: Africa/Casablanca (GMT+01:00)
Dieses Thema enthält 1 reply, hat 2 Stimmen.
Zuletzt aktualisiert von Jamal vor 4 years, 6 months.
Assistiert von: Jamal.
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.