Dear gents,
Um having 2 forms , the fist one is login form and the other is the main page , um trying to disable a button inside the second form if the user is regular user else which is the admin make it enabled.
i made admin level as a check box , If the user is checked then his is admin .
i also linked that check box in the main page form but hidden , But also didn't work