Forum Discussion

underqualified's avatar
underqualified
Occasional Contributor
5 years ago

UserForms - Checkbox always returning true.

Hey there, I'll preface this by saying I'm a total newb when it comes to coding and basically am learning as I go along. I've been trying to set up two forms, one basic form where one can only enter...
  • underqualified's avatar
    underqualified
    5 years ago

    Everyone who gave me your helpful responses, I solved it by realizing I was very stupid and looking at JScript and not JavaScript - I adjusted the code to be

    function DataForm_tpAdvanced_OnChange(Sender)
    {
      if(UserForms.DataForm.tpAdvanced.Checked == True)
        UserForms.AdvancedForm.Show();
    }

    and it works like a charm now! Thanks for all the advice and sorry for possibly wasting anyone's time!