I am building a setup to trigger an automation from the cloud page by following this guide - https://ampscript.xyz/how-tos/how-to-start-status-of-automation-from-marketingcloud-form/
When I try to add the code for form-handler by creating a new Code Resource (Javascript) and then save or publish in Cloudpages, the code completely disappears and becomes blank. Tried creating a new file and same is happening
Could anyone help me how to fix this issue and make this work?