bradmanning Posted November 22, 2013 Report Share Posted November 22, 2013 I have created a suggestion box tool where users have the option to remain anonymous by leaving a field called "Show_Name" unchecked. Managers can then go into a details page and enter a response that the user can see. I had created a rule to hide the name if the box is unchecked, but due to lag loading the page, the name stays visible for a few seconds. What I'd like to do instead is have the name hidden by default (either by an HTML container or by the field settings) and have the name show if the box is checked (either that field, or a virtual field). Any tips? Quote Link to comment Share on other sites More sharing options...
MayMusic Posted December 4, 2013 Report Share Posted December 4, 2013 You can write a code to hide the field: $(document).ready(function () {$('#chkboxID').click(function () {var $this = $(this);if ($this.is(':checked')) {$('#FIELDID').hide();} else {$('#FIELDID').show();}});}); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.