Forum Post: RE: Rollbase - auto filling fields when object selected

Status
Not open for further replies.
G

Godfrey Sorita

Guest
I noticed an error in the script you made. The variable id is not defined. A record id needs to be assigned to this variable for your script to work. Kindly replace your function with the code below and see if it works: function getSociete() { var id = rbf_getFieldValue("R11603"); rbf_selectValue("SELECT name FROM your_object WHERE id="+ id, my_callback); } Important: Replace your_object with the integration name of the object you are trying to query.

Continue reading...
 
Status
Not open for further replies.
Top