Home > Forum > Actions > attachment as required

attachment as required
0

Dear Torf,
you can add validate form action on specific path and include SQL Command to check if for particular WFD_ID there is attachment.
Attachments are stored in DB when they are uploaded, so no additional save action is required.
You can query [WFDataAttachmets] table if attachment exists.

Hope this help :)

Best!

If you make a validation by SQL query, you must be sure that you wrote, a condition in Where section which will check that attachments is active. All of attachments (which you have added or deleted already to/from forms) belongs to the correct WFD_ID. If you don't have any attachments on form because somebody deleted there early, validation will check it also. Check column in DB ATT_IsActive.

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings