In JavaScript, I’m using the following code in nuOnLoad() in a popup edit form to populate a text field:
nuSetValue('my_field_id', parent.nuRecordId());
When saving, it works without any problem.
However, if I replace it with:
this.value = parent.nuRecordId();
then the field shows the correct value when the form opens, but it won’t save.
Could someone explain why this.value doesn’t behave the same way as nuSetValue?
Thanks for your help,
Yves