最近の検索
最近の検索はありません

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
コメント