Hello KK,
I realized something today in a data-bound form implementation. I realized you can't simple override an existing secure_file without first deleting the existing one.
I tried this, but the upload button is missing and only the delete button shows:
I also tried this. It work's fine except when you submit the form after changing other form fields data apart from the secure_file, the secure_file becomes empty:
1. Is there a way to override the secure_file without first deleting the existing one.
2. Prevent the secure_file from getting emptied after I update any other form field without updating the secure_file field.
Thank you
I realized something today in a data-bound form implementation. I realized you can't simple override an existing secure_file without first deleting the existing one.
I tried this, but the upload button is missing and only the delete button shows:
- Code: Select all
<cms:input type="bound" name="business_logo" />
I also tried this. It work's fine except when you submit the form after changing other form fields data apart from the secure_file, the secure_file becomes empty:
- Code: Select all
<cms:hide>
<cms:input type="bound" name="business_logo" />
</cms:hide>
<input type="file" name="f_business_logo" />
1. Is there a way to override the secure_file without first deleting the existing one.
2. Prevent the secure_file from getting emptied after I update any other form field without updating the secure_file field.
Thank you