Tell us what you are trying to do?
Create a form that allows users to enter youtube URLs into an Emebedded Media Custom Field
The forms (create and edit) are working fine - however I have an issue with one custom field type.
I have an embedded media custom field.
It shows up in the custom fields list when editing the form (Pic 1 - field called 'media') - I can drag and drop it onto the form layout (Pic 1)
But after I click SAVE - the field just disappears from the form.
Should this be possible?
NB: I can switch the form to advanced mode, enter the code for the embedded media field and it seems to work OK (Pic 2)
EG: [cred_field field="media" force_type="field" class="form-control" output="bootstrap"]
I will do that for now - but would prefer the drag n dro option worked.
Thanks
What is the link to your site?
Not live yet
Hi,
Thank you for contacting us and I'd be happy to assist.
I've performed some tests on my website, but couldn't reproduce this behavior. Looks like something specific to your website is involved.
When you use the visual form editor and drag-n-drop the embedded media field, do you see any error in the browser's console, on the screen or in the server's error logs?
If not, I'll recommend to temporarily turn on WordPress debugging and see if any errors or warnings are logged in the server's error log.
( ref: https://wordpress.org/documentation/article/debugging-in-wordpress/ )
In case there are no errors/warnings, you're welcome to share temporary admin login details of the website, for further troubleshooting.
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
I hope this helps and let me know how it goes.
regards,
Waqar
I've not resolved it - I'm just hard coding instead of using the drag n drop.
But you can close the ticket as at least I know now it "should" be working.
Thank you