EGL Development User Group

Expand all | Collapse all

Function to set the field to PROTECTED after entering the input value

  • 1.  Function to set the field to PROTECTED after entering the input value

    Posted Mon July 06, 2020 09:51 AM
    Hi All,

    Good day!

    Would just like to ask for assistance if you have sample function or if you know how set the field as protected after we enter the input values in our online screen. The online screen should only add or delete entries and should not be able to edit entries once added. For example, input should be holiday month and day, 12/25 then it will generate the day of the week and the month in words and day. Once added, 12/25 input date should be protected/locked.

    Hope you can give me some inputs on how resolve this.

    ------------------------------
    Thanks,
    Kim
    ------------------------------


  • 2.  RE: Function to set the field to PROTECTED after entering the input value

    Posted Tue July 07, 2020 08:39 AM
    did you try the disabled method?
      month.disabled = true;
      day.disabled = true;

    there is also the getelementbytagname method where you can use the id.
      tf textfield{id = "id1"};
      w widget;
      w=document.body.getElementsByTagName("id1");
      w.disabled = true;

    ------------------------------
    nick jones
    ams
    englewood cliffs NJ
    ------------------------------



  • 3.  RE: Function to set the field to PROTECTED after entering the input value

    Posted Tue July 07, 2020 08:56 AM
    See if this video helps.

    --
    Osvaldo J O Menezes
    ojomenezes@gmail.com
    11 96565-6368 (tim)