How to get Zoho parameters within a Zoho widget?
I have a related list widget in my CRM that uses html to submit a file.
- <html>
- <head>
- <meta charset="UTF-8">
- </head>
- <body>
- <form action="javascript:loadAPI(document.getElementById('fileSubmit'))">
- <label>Upload a file</label>
- <input type="file" id="fileSubmit" name="filename">
- <input type="submit">
- </form>
- <script type="text/javascript" src="submitFunction.js">
- </script>
- </body>
- </html>
After clicking submit, it then triggers a Javascript function. The function is currently empty but I would like to include several Zoho parameters inside of the function. I need to get the module name that the widget is in and the name of the specific record that the user is on. Is there any way to do that?