mimic CNTRL+SHIFT+Kin Design Studio

 3 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
TracyO
Veteran Member
Posts: 97
Veteran Member
    Does anyone know if there a way in Design Studio to mimic the Cntrl+Shift+K so that I can position to a certain spot on a DS form and clear all the fields to the end? 
    Terry P
    Veteran Member
    Posts: 234
    Veteran Member
      Method: Magic.clearFormData
      Returns [undefined]

      Parameters
      fld [string] (optional) default: -1


      Remarks
      If the fld parameter is supplied, clears the form data begining
      with the specified field. If no field is specified, clears all the
      form data.

      Example
      tranMagic.clearFormData("_f2"); // clears the form elements begining with _f2
      or
      tranMagic.clearFormData(); // clears all the form elements


      TracyO
      Veteran Member
      Posts: 97
      Veteran Member
        Awesome! Thanks so much Terry!!
        Lorena
        Advanced Member
        Posts: 37
        Advanced Member
          Hi,
          I am trying to use tranMagic.clearFormData passing the field as a parameter and it is not working.
          Did someone use it succesfully?