Ricerche recenti
Nessuna ricerca recente

Anne Lhomme
Data ingresso 15 apr 2021
·
Ultima attività 07 set 2023
Seguiti
0
Follower
0
Attività totali
7
Voti
3
Abbonamenti
3
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Anne Lhomme
Anne Lhomme ha creato un post,
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!
Data ultimo post: 26 gen 2021 · Anne Lhomme
14
Follower
19
Voti
12
Commenti