Forum Post: RE: SetFieldValue not changing the value of a Lookup

  • Thread starter Thread starter ByronB
  • Start date Start date
Status
Not open for further replies.
B

ByronB

Guest
Hi, just to further. If I alert the previous value and the set values the correspond but not visually: script function onChangeDivision(form) { var relDivision = form.contactDivision.value; if (relDivision != ""){ function cb(values) { var acctMgr = values[0][0]; alert(acctMgr); //$('#rbi_F_accountManager span').click(); //$('#rbi_F_accountManager').children().remove(); //rbf_setFieldValue('accountManager', null); rbf_setFieldValue('accountManager', acctMgr); alert(rbf_getFieldValue('accountManager')); } rbf_selectQuery("select accountManager from division where id=" + relDivision, 1, cb); } } /script

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