• Resolved julieatcsedresearch

    (@julieatcsedresearch)


    Hello,

    I’m new to this and have a few questions:

    1. Is it possible that a front-end user could add a file (.doc, .pdf, etc.) to the database? (Not a .doc file containing rows of data, but our current form permits uploading files as part of the form entry.)
    2. Our current form has drop-down menus with pre-defined options (e.g., “Yes”, “No”, “N/A.”) Is this an option in the Form Builder?

    Thanks for your help.

    Best,

    Julie

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @julieatcsedresearch,

    Thanks for the questions!

    1. Is it possible that a front-end user could add a file (.doc, .pdf, etc.) to the database?

    Yes, but the user needs to be logged in. Our plugin currently doesn’t allow uploads from anonymous users.

    Our current form has drop-down menus with pre-defined options (e.g., “Yes”, “No”, “N/A.”) Is this an option in the Form Builder?

    Yes! Our form builder takes fields from the columns in your database table. You just need to make sure your column type for that field is set to enum. In this case, you also need to define the options for that field via SQL or via Data Designer in our plugin.

    In Data Designer, you can create or alter an existing table. Here’s a short demo: https://share.zight.com/bLuQGK0r

    Hope this helps! Let us know if you have more questions. ??

    Thread Starter julieatcsedresearch

    (@julieatcsedresearch)

    Thanks. Can you point me to a doc/tutorial/example of creating a form field that would allow a file to be uploaded?

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @julieatcsedresearch,

    You’re welcome. ??

    To make a column field into an upload field type, you need to set the column media type to?Attachment in Data Explorer.

    Here’s a demo on how to change a column’s field type:?https://share.zight.com/p9uoxkLR

    Hope that helps! Let us know if you have other questions.

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