Ricerche recenti


Nessuna ricerca recente

Andy Pitts's Avatar

Andy Pitts

Data ingresso 30 apr 2024

·

Ultima attività 30 apr 2024

Seguiti

0

Follower

0

Attività totali

1

Voti

0

Abbonamenti

0

PANORAMICA ATTIVITÀ

Ultima attività di Andy Pitts

Andy Pitts ha commentato,

CommentoHow 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

Visualizza commento · Data ultima modifica: 30 apr 2024 · Andy Pitts

0

Follower

0

Voti

0

Commenti