Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Andy Pitts's Avatar

Andy Pitts

Beigetreten 30. Apr. 2024

·

Letzte Aktivität 30. Apr. 2024

Folge ich

0

Follower

0

Gesamtaktivitäten

1

Stimmen

0

Abonnements

0

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Andy Pitts

Andy Pitts hat einen Kommentar hinterlassen

KommentarHow 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

Kommentar anzeigen · Bearbeitet 30. Apr. 2024 · Andy Pitts

0

Follower

0

Stimmen

0

Kommentare