We have made function (//workaddress/struct.function a required field on a contact. It only becomes required when an account is assigned to the contact. If you hit 'enter' after entering an account id, it works fine, prevents saving.... However, if you do not hit enter, but click the save instead, it allows you to save the contact. If you then click edit, immediately you are warned that the function is required. How can I get the system to recognize that a value has been entered in the account id field, so that it will then recognize that function should be required. I was attempting to call do_finish_input in the eh_onsave event, but cannot determine the correct format, I get errors when entering it. Has anyone encountered this or have any advice?
↧