Update hidden field

Sort:
You are not authorized to post a reply.
Author
Messages
Bob Clark
New Member
Posts: 1
New Member

    I am trying to update a hidden field in Design studio.  I am new to Design Studio so please forgive. 

    The hidden field needs to be updated when the select12 is "S".  How would I do this?

    function FORM_OnBeforeTransaction()
    {
         var vList = lawForm.getFormValue("select12");

        if (vList == "S");
    //         UPDATE ?hidden56? = ?y?;
               return true

    }

    Gary Davies
    Veteran Member
    Posts: 248
    Veteran Member

      You reference hidden fields with the same api you can use for the visible ones

      lawForm.setDataValue("XXXX","y")  where XXXX is the Field Name such as EMP-COMPANY on HR11 for company

      You are not authorized to post a reply.