does anyone know or trick how to set contract type file to null.

Hello,

Based on my question, i want to set Contract Type : File to null or allow if people doesn’t attach a file.

i tried to create javascript to set return my_file = null, is not working.

kind regards,

dhany lugina

Hi,

The “file upload and download example” demonstrate how to have optional document upload.

i got the answer, just change operations from “script” to “Contract Input” and it works, thanks antoine to help me and giving me an example.

Thank you so much .

Hi antoine,

Thank you for your kindness to reply and giving me an example, but when i executed both of upload or don’t upload i got this error.

![err][err]
[err]: http://i68.tinypic.com/v6m1qb.png “error”