Recherches récentes
Pas de recherche récente

Jona Wilmsmann
Adhésion le 16 avr. 2021
·
Dernière activité le 22 oct. 2021
Suivis
0
Abonnés
0
Activité totale
4
vote
1
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Jona Wilmsmann
Jona Wilmsmann a ajouté un commentaire,
I just want to jump in here and say that i share the frustration. Our company doesn't even use Facebook, so I can't complete the checklist even if I wanted to.
Would be great if I could just dismiss the section.
Afficher le commentaire · Publication le 19 févr. 2021 · Jona Wilmsmann
0
Abonnés
4
Votes
0
Commentaire
Jona Wilmsmann a ajouté un commentaire,
I struggle to set the value of the description field and was wondering if anyone had a similar experience:
$(document).ready(function () {
// Hide subject and description
const ticketForm = $("#request_issue_type_select").val();
if (ticketForm == 360001444300) {
$('.form-field.string.required.request_subject').hide(); // Hide subject
$('.form-field.request_description').hide(); // Hide description
$('#request_subject').val('Test subject'); // Autofill subject
$('#request_description').val('Test description'); // Autofill description
}
});
Using this code, I am able to hide both the subject and description fields, however when then submitting the form, it fails. Removing the part that hides the fields, I can see that the "Test subject" is entered into the subject field, but the description field is empty. I can also see that the reason why the submit fails is because the description field is empty.
Does anyone have a suggestion for how to fix that?
Afficher le commentaire · Publication le 11 févr. 2021 · Jona Wilmsmann
0
Abonnés
4
Votes
0
Commentaire