Hello,
I just noticed that when i click submit from from the Toolset form the contents from a custom field are gone.
Is this a bug or did i miss something?
See pic attached. The form above [Send for approval] adds a file in tha pdf icon while the form below [approve or reject] deletes the file on submit for no reason.
You can locate the issue in this example custom post.
****/job-video-upload-issue/
Hi Stuart,
Thank you for waiting while I performed some tests on my website.
During troubleshooting, I was able to reproduce this issue on my test website as well.
The file type custom field's value is lost, if another post edit form exists on the page and is submitted, which doesn't include that same file type custom field in it.
I've shared these findings with the concerned team and will keep you updated with the progress through this ticket.
For now, you can use a workaround to avoid this. In your "Approvers Form", you can include the same "files-for-approval" field, but hide it using CSS code:
<div style="display: none;">[cred_field field='files-for-approval' force_type='field' class='form-control' output='bootstrap']</div>
As a result, when this second form will be submitted, this field's value won't be lost.
Appreciate your brought this forward and please let me know how it goes.
regards,
Waqar
Looks like it is working properly now. Thank you for helping me find a solution to this.