Pesquisas recentes


Sem pesquisas recentes

Andy Pitts's Avatar

Andy Pitts

Entrou em 30 de abr. de 2024

·

Última atividade em 30 de abr. de 2024

Seguindo

0

Seguidores

0

Atividade total

1

Votos

0

Assinaturas

0

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Andy Pitts

Andy Pitts comentou,

ComentárioHow 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

Exibir comentário · Editado 30 de abr. de 2024 · Andy Pitts

0

Seguidores

0

Votos

0

Comentários