Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Anne Lhomme
Beigetreten 15. Apr. 2021
·
Letzte Aktivität 07. Sept. 2023
Folge ich
0
Follower
0
Gesamtaktivitäten
7
Stimmen
3
Abonnements
3
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Anne Lhomme
Anne Lhomme hat einen Post erstellt
Following the creation of a personalized form, the problem we had was that the fields, subject to conditions, appeared empty in the client interface. What we wanted was to see only the fields that would have been completed.
To prevent these fields from appearing and appearing empty, we have modified the code of the Help center theme's ticket request page (request_page.hbs).
Since the value that appears when the field is empty is "-", we have made it so that it is not displayed.
#before modification
{{#each custom_fields}}
{{value}}
{{/ each}}
#after modification
#we indicate that if the character "-" is present then the field is not displayed.
{{#each custom_fields}}
{{#is value "-"}}
{{else}}
{{value}}
{{/ is}}
{{/ each}}
Hope that help!
Gepostet 26. Jan. 2021 · Anne Lhomme
14
Follower
19
Stimmen
12
Kommentare