Hello,
I have been using the standard rollbase function rbf_setFieldValue() for setting a lookup's field value and I have noticed a bug with it. Basically whenever I try to set the field value, it sets the field value correctly. However if I set the same field value again, it appends to the select list in the DOM and upon trying to save this record the form errors out saying that the value was not specified for that field. Could someone please provide an alternative solution for this?
Relationship type: M - 1. The 1 side of the relationship is for the lookup field.
Cheers.
Iram
Have you tried clearing the value first before you set it?
Yup, tried it. Did not work.
Iram
Can you post a sample of your code?
Its quite simple actually.
rbf_setFieldValue("integrationName1", 1005); // ID of the record = 1005
rbf_setFieldValue("integrationName1", 1005); // Another setFieldValue with the same ID
Cheers.
Iram
I have reported a very similar issue here:
community.progress.com/.../78565
Can someone confirm to me if this has been fixed in 4.0.4.?
Cheers.
Iram
Hi,
This issue is fixed and targeted for 4.0.6
Thanks,
Vimal.