• Resolved Emmanuel Kuebutornye

    (@emmanuelkuebu)


    Hi there,

    I’m hoping to enable specific users to upload documents through a custom frontend dashboard I’ve created. I’m currently using the WS Form plugin, which allows for creating posts from a frontend form.

    I’ve successfully configured the form to create documents with post titles, featured images, and workflow states. However, I’m unable to locate the meta field keys for the Document Description and document upload fields.

    To troubleshoot, I installed the JSM Post Meta plugin to view the meta fields associated with this plugin. Unfortunately, none of the fields related to document description or upload appear to be registered or visible.

    Any guidance on how to enable document description and upload functionality within the WS Form plugin would be greatly appreciated.

    JSM Post Meta not discovering plugin fields
Viewing 1 replies (of 1 total)
  • Plugin Contributor nwjames

    (@nwjames)

    @emmanuelkuebu,

    You will not find these details held in meta fields, Both the document upload and document description are held in the document field post_content.

    You will find in Version 3.6 of the plugin a file docs/data-structure.md (or in GitHub) a description of how the various records used by the plugin are held and linked. This should guide you in discovering how the data is put together and to replicate it.

    I wrote this since over the period that I have been helping with this plugin various users had problems at different times and did not know the structure without diving into the code. I also wrote the validate structure functionality based on this to see if the data could be corrected if it was not complete.

    I can make no comment on how you can make WS Form construct the data appropriately as I have no knowledge of it.

    Hope this is of use,

    Neil James

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.