Reply To: Missing HTML field in xls export

Home Forums Quform WordPress Missing HTML field in xls export Reply To: Missing HTML field in xls export

#34758
jbYES
Participant

Dear Ally,
thanks a lot for your response.
Yet, it doesn’t seem to work.
I added a hidden field with the ID 3_171
The zip field has the ID 3_5

I ran a couple of tests with new entries and the zip code starting with 01, 02 etc.
I exported the messages, but hidden field is listed, but there are no entries in that column.
Any ideas what’s missing?

I added this code to the settings

jQuery(function ($) {
var $zip = $(‘.quform-field-3_5’);
var $hidden = $(‘.quform-field-3_171’);

$zip.on(‘keyup blur’, function () {
var zip = $zip.val();

if (typeof zip === ‘string’ && zip.length) {
var first2 = zip.substring(0, 2);

if (first2 === ’01’) {
$hidden.val(‘Ost’);
} else if (first2 === ’02’) {
$hidden.val(‘Ost’);
} else if (first2 === ’03’) {
$hidden.val(‘Ost’);
} else if (first2 === ’04’) {
$hidden.val(‘Ost’);
} else {
$hidden.val(”);
}
} else {
$hidden.val(”);
}
});
});

Thanks,
Jochen

Attachments:
You must be logged in to view attached files.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy