2 Replies Latest reply on Mar 27, 2014 5:47 AM by MrStark

    Disabling Fields on Check Box


      Looking for a little help.  I am working on a form for issuing cards to users. If the user only needs a temporary card we don't need certain information from the form. I just can't find anything on how to block/disable inputs into certain fields using Java Script. Also filling the fields with N/A would work also.


      I think it would go something like


      (function () {



          if (getField("TempCard").value === "Yes") {

             //Disable Fields or Populate Fields with N/A

          } else {

             //Enable Fields or do not affect fields





      I just can't find the Java Script for disabling fields.