Hello,
I have a textfield that automatically fills multiple select fields. The code I use for this is:
function ff_Categorie_action(element, action)
{
jQuery("[name=\"ff_nm_CS_01[]\"] > option").remove();
jQuery("[name=\"ff_nm_CS_02[]\"] > option").remove();
jQuery("[name=\"ff_nm_CS_03[]\"] > option").remove();
jQuery("[name=\"ff_nm_CS_04[]\"] > option").remove();
jQuery("[name=\"ff_nm_CS_05[]\"] > option").remove();
jQuery("[name=\"ff_nm_CS_01[]\"]").append("<optionvalue= >Kies categorie</option>");
jQuery("[name=\"ff_nm_CS_02[]\"]").append("<optionvalue= >Kies categorie</option>");
jQuery("[name=\"ff_nm_CS_03[]\"]").append("<optionvalue= >Kies categorie</option>");
jQuery("[name=\"ff_nm_CS_04[]\"]").append("<optionvalue= >Kies categorie</option>");
jQuery("[name=\"ff_nm_CS_05[]\"]").append("<optionvalue= >Kies categorie</option>");
var lines = jQuery("[name=\"ff_nm_Categorie[]\"]").val().split("\n");
for(var i = 0;i < lines.length;i++){
jQuery("[name=\"ff_nm_CS_01[]\"]").append('<option value="'+lines[i]+'">'+lines[i]+'</option>');
jQuery("[name=\"ff_nm_CS_02[]\"]").append('<option value="'+lines[i]+'">'+lines[i]+'</option>');
jQuery("[name=\"ff_nm_CS_03[]\"]").append('<option value="'+lines[i]+'">'+lines[i]+'</option>');
jQuery("[name=\"ff_nm_CS_04[]\"]").append('<option value="'+lines[i]+'">'+lines[i]+'</option>');
jQuery("[name=\"ff_nm_CS_05[]\"]").append('<option value="'+lines[i]+'">'+lines[i]+'</option>');
}
} // ff_Categorie_action
Now this works great and I get all the values in the mail!
But after linking this form with Contentbuilder, the values of the selectfields are no longer included in the CSV file and are reset when I edit the form again.
So it seems that these values are NOT stored... how can we solve this?
Este mensaje contiene información confidencial
Regards,
Michiel