최근 검색
최근 검색 없음

Anne Lhomme
가입한 날짜: 2021년 4월 15일
·
마지막 활동: 2023년 9월 07일
팔로잉
0
팔로워
0
총 활동 수
7
투표 수
3
플랜 수
3
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Anne Lhomme
Anne Lhomme님이 에 게시물을 만듦
게시물 Discussion - Tips and best practices from the community
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!
2021년 1월 26일에 게시됨 · Anne Lhomme
14
팔로워
19
투표 수
12
댓글