最近搜索


没有最近搜索

Andy Pitts's Avatar

Andy Pitts

已加入2024年4月30日

·

最后活动2024年4月30日

关注

0

关注者

0

活动总数

1

投票

0

订阅

0

活动概览

的最新活动 Andy Pitts

Andy Pitts 进行了评论,

评论How to customize the theme of the help center

Hi

 

With the help of this article and comments I've been able to get the Subject and Description fields to autofill based on the ticket form being used. On the first attempt this works as expected but if I then select a different form from the dropdown the Description field reverts to being blank. The Subject field works perfectly every time. If I wait about 15 seconds before selecting a different form, the Description field does autofill but if I change the selected form any quicker than that it is always blank.

 

For troubleshooting, I have used console.log($('#request_description').val()) to check what value the field has and even when the Description box is visibly empty "val()" is showing the correct value (albeit without the surrounding

tags). However, it is not enough to allow the form to be submitted because it returns with the error that the Description field needs to be completed.

 

It feels like a problem related to the rich text editor of the Description field.

 

Any advice on how I can get this to work consistently like the Subject field?

 

Thanks in advance

查看评论 · 已于 2024年4月30日 编辑 · Andy Pitts

0

关注者

0

投票

0

评论