0 Replies Latest reply on Mar 18, 2014 5:51 AM by Wells G

    Js doesn't wok in ftl

    Wells G Novice

      Hi team ,

       

          I want to use ftl in jbpm6 , and had checked this article :  jbpm6 ftl Human Task  about how to use ftl.

       

          But now i want to add script to the ftl . And found it didn't work .

      ====================================

      <p>

                <div class="control-group">

                  <input type="hidden" name="taskId" value="${task.id}"/>

                  <label class="control-label-nh" for="startDate">Start Date</label>

                  <div class="controls">

                    <input type="text" id="startDate" name="boardDate" formatValidator="true" placeholder="yyyy/mm/dd" required="required">

                    <script>

                    $(function() {

                     

                      $('#startDate').val('2013/06/18');

                     

                        });

      </script>

                  </div>

                </div>

              </p>

      ==================================