Clarity Service Management

Expand all | Collapse all

Hide or show fields by process

  • 1.  Hide or show fields by process

    Posted 04-26-2019 10:48 AM

    Dear community,

     


    It's possible to hide a field of a form by process or gel script

     

     

    Thanks

    JB



  • 2.  Re: Hide or show fields by process

    Posted 04-29-2019 12:07 PM

    jbayona .......

     

    Can you please provide more details regarding this use case and the expected results?



  • 3.  Re: Hide or show fields by process

    Posted 04-30-2019 02:34 AM

    Good Morning Johnny.

    You can write your own form-script.
    With e,g, code like the below:

    {
    FormLoad: function (requestId){
    ca_reportQuery('811b390a5982-166ee919159bc133bef-46581486546611002',
    {'req_id':requestId},
    function(rows)
    {
    if(rows[0]['ordertype'] == '3'){
    ca_fdHideFields('_generalInfo', ['frameTyp', 'frameChoose', 'frameChoosed', 'frameEcon', 'frameLevInfo']);
    }
    else{
    ca_fd.js.CheckRequestHasCost(requestId);
    }
    },ca_fd.js.onFailureFetch);
    }

    Kind regards, Louis.