I am new to Nintex forms O365 classic designer. Actually we are doing migration from SharePoint on premise to Online.
Like for "_spPageContextInfo.webAbsoluteUrl" is throwing error "Uncaught TypeError: Cannot read property 'webAbsoluteUrl' of undefined"
I tried hard coded with my online site in place of weburl, but it is throwing error, forbidden 403 error at ajax url.
So, I followed the solution in the blow forum
Here the solution is having success and error methods, but I need the latest methods done and fail.
For your error forbidden 403 error, you don't have the formDigest on your page, so when you will send your REST query, you will not have your authentication token (formDigest), that why you have an 403 error.
The Jquery is already embeed in the Nintex classic form, it's just renamed by : NWF$
To make query to you SharePoint site I recommand to use the SP.RequestExecutor like the exemple, you will need to re-write some part of your code 😉