Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Online custom form errors out when using script
Hello,
I have created a online custom form with some fields. I want to read those fields to create employee record. It means when users submits the form, employee record would be created with the data from the online form.
Tried with 2 ways
1. I have added a script to that online form to read the fields when submit button is clicked. Here i am getting all fields values. But when trying to create a employee record or loading a record, it says "NETWORK_ERR:XMLHttpRequest Exception" error.
2.Then i created a suitelet to create the employee record. From the online form script, i am calling the suitelet to pass the fields values by nlapiRequestURL(). But here also it says "NETWORK_ERR:XMLHttpRequest Exception" error.