Crocoblock / jetformbuilder

74 stars 16 forks source link

Glossaries (via uploaded files) not working #244

Open daandegroot123 opened 1 year ago

daandegroot123 commented 1 year ago

I am currently migrating my forms from JetEngine's legacy Forms module to the new JetFormBuilder. However, my glossary does not work in JetFormBuilder, despite working fine in JetEngine. It's a CSV which contains all WooCommerce country codes:

image image image

And in the end, the form shows the label, but the select box is not visible: image

I have already tried other field types, such as Radio & Checkbox, as well as a new, different .csv-file, but that did not help. Enabling WP_DEBUG did not show any errors.

girafffee commented 1 year ago

@daandegroot123 I tried to make a glossary with this file and it worked fine for me. Could you please share your csv file?

daandegroot123 commented 1 year ago

@girafffee Thanks for the super quick response. By looking at the file you used, I was able to figure out what the issue was.

The .csv contained non-allowed characters such as é, ã and Å, which caused it not to work. Just changed these to the regular characters now and everything works!

Perhaps mostly my own fault, but it could be made clearer in JetFormBuilder or maybe in JetEngine Glossaries that the .csv is not working properly. The JetEngine Forms builder just renders the unknown character instead of failing to load any: image