Anurag Tripathi
Mega Patron

Hi,

What you can do is, Check if the user has the role, if not then remove Purchase form the dropdown. 

Something like

    if (!g_user.hasRole('<ROLE NAME>')) {
        g_form.removeOption('<FIELD NAME>',"<CHOICE VALUE>");
    }

 

-Anurag