Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Regarding dynamicForm button.

    Hi isomorphic,

    How to change the title of button which comes under dynamicform. it's possible for isc.Button and isc.IButton. i tried a lot. but unable to do that.
    plze give me solution to the title for dynamicform button. thanks in advance.

    Regards
    Varun.

    #2
    You can use a IButton and then position it with a Layout.

    Code:
    IButton.create({title:"Save", click:"YOURFORMNAME.saveData();", width:100})

    Comment


      #3
      Try using the title property of a form field whose type is set to button:
      Code:
      isc.DynamicForm.create({
          fields: [
              ....
              {name: "testButton",
                title: "some text",
                type: "button"
              }
              ....
          ]
      });

      Comment


        #4
        With this property how set and reset Name...
        Can we use setTitle property for it???

        Comment


          #5
          Yes, use setTitle() like so:
          Code:
          exampleForm.getItem('button').setTitle('hello');

          Comment

          Working...
          X