Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
var CustomEventHandlers = {
	    setup: function (el) {
		if (CustomView.hasClass(el, 'detectbrowser')) {
		    el.value = navigator.userAgent

                    UberController.valueChangeObserver({target:document.getElementsByName('Browser')[0]}, document.getElementsByName('Browser')[0].parentNode); 
		}
	    }
	} 
Note

Replace the name Browser in above JS with the name of the text field that you are using.

Use the browser information populated in your text control to decide if the section with wet signature should be displayed or not.

...