unable set mandatory a field in change request form by using g_form

sumanthpopu
Giga Contributor

unable set mandatory a field in change request form by using g_form

unction onLoad() {
   //Type appropriate comment here, and begin script below
   g_form.isMandatory('short_description',true);
}
5 REPLIES 5

Mohammad Danis1
Giga Guru

Hi @sumanthpopu ,

Please find the correct line of code:

g_form.setMandatory('short_description',true);



If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful, so that it benefits future readers.