Jump to content

tscmedlake

Members
  • Content Count

    1
  • Joined

  • Last visited

About tscmedlake

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm am trying to conditionally display the Update button on a Details form based on the toggle of a boolean check box on the data page. The java scrip I have in the footer looks like this: <script type="text/javascript"> /* 1 - get the Yes/No field */ var cb_boolean = '[@field:BO_Approved]'; if (cb_boolean == 'No') { /* Hide The Update button*/ document.getElementById("Mod0EditRecord").style.visibility = 'hidden'; } else { /* Show The Update button*/ document.getElementById("Mod0EditRecord").style.visibility = 'visible'; } </script> The script does hide the button but it is not revealed when the Checkbox (BO_Approved) is checked. What am I missing. Thanks in advance
×
×
  • Create New...