LASTEST VERSION.txt

  • No labels

2 Comments

  1. There is a attached file which contains of my java script function that i put into my form.

    Please advice me, thank you.

  2. put your function like this sample

    <script type="text/javascript">
        function formbuilderOnReady() {
            var radioYes = document.getElementsByName('decision')[0];
            var radioNo = document.getElementsByName('decision')[1];
            var textarea = document.getElementsByName('description')[0];
            radioYes.onclick = function() {
                textarea.disabled = false;
            };
            radioNo.onclick = function() {
                textarea.disabled = true;
            };
        }
    </script>

    formbuilderonready more like = "$().ready(function(){" or "window.onload"

    this is custom load function

    it works on joget ver 2, i havent use it for joget ver 3

    may be u can try it