Plugin Author
Franky
(@liedekef)
If you get an error during the creation of the field, then you need to check your database first.
But I assume you have an error while using the field. How are you using it?
I have an error creating the field and using it.
I created the file field with the name “image” so in the code I put:
<div class = “input”>
<label for = “image”> <? php _e (‘Image’, ‘events-made-easy-frontend-submit’); ?> </ label> <br />
<? php EMEFS :: field (‘image’); ?>
<? php EMEFS :: error (‘image’); ?>
</ div>
In the database wp_eme_formfields the field appears, but when sending the form, an error appears inserting in the database.
Plugin Author
Franky
(@liedekef)
That is code for events-made-easy-frontend-submit, not events-made-easy.
The frontend submit form does NOT use the custom formfields from EME itself, that’s the reason. I can’t image why you would need to upload a file when defining a new event. But if you want to upload stuff via the frontend plugin, use the option “Use wysiwyg?”
I want users to be able to put a photo to the event and to appear when it has been created. I will try with the wysiwyg