Setting require of field

Hi is possible to set and reset required attribute on onload and onajax call

regards

Try this macro:
sc_field_no_validate(‘field_name’);