You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Accessing RightNow.Form object in custom widget logic.js

Received Response
37
Views
3
Comments
edited Feb 26, 2019 2:00AM in Customer Portal 3 comments

Summary

I have a custom widget with a nested form and I am unable to get an object reference via RightNow.Form.find()

Content

I have a custom widget with its own logic.js and view.php, which contains a form (<form> tag with input widgets inside).

To get a reference to the form inside logic.js I tried using RightNow.Form.find() but this doesn't return the proper object as I assume the actual form hasn't been built yet. I then tried the attached code below which waits for all widgets to be instantiated before calling RightNow.Form.find() but this still experiences the same issue.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!