Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

David Edgson's Avatar

David Edgson

Beigetreten 16. Apr. 2021

·

Letzte Aktivität 27. Okt. 2021

Folge ich

0

Follower

0

Gesamtaktivitäten

5

Stimmen

0

Abonnements

3

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von David Edgson

David Edgson hat einen Kommentar hinterlassen

Community-Kommentar Q&A - Objects, workspaces, and rules

That's what we do in our zendesk. we hide the subject field and populate it at the point of submitting with values the user entered into other fields. This example creates a subject like "New User John Doe 2019-01-01"

So in addition to hiding the fields like Dan does, we add this code that sets the subject field upon submitting the ticket.

$("#new_request").submit(function(e){

//33860927 = FirstName
//33855548 = LastName
//33855528 = FirstDayOfWork

var subject_value = "New User " + $("#request_custom_fields_33860927").val() + " " + $("#request_custom_fields_33855548").val() + " " + $("#request_custom_fields_33855528").val();


$('#request_subject').val(subject_value);


});

Kommentar anzeigen · Gepostet 03. Mai 2019 · David Edgson

0

Follower

0

Stimmen

0

Kommentare


David Edgson hat einen Kommentar hinterlassen

Community-Kommentar Q&A - Objects, workspaces, and rules

I don't know if you ever got your answer for this, but this is something we did.

We hide the Subject field, and code similar to the following to set the Subject value when the user hit's submit on the request. Instead of the static value you see below, we actually populate the subject value variable by combining the values of several custom fields the user fills out on the form.

var subject_value = "Insert Subject Value Here";

$("#new_request").submit(function(e){

$('#request_subject').val(subject_value);

});

 

Kommentar anzeigen · Gepostet 18. Jan. 2019 · David Edgson

0

Follower

0

Stimmen

0

Kommentare