Announcement

Collapse
No announcement yet.

[SOLVED]ReadOnly in form_app doesn't work while insert

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED]ReadOnly in form_app doesn't work while insert

    i set this parameter in my form_app

    myField

    LeftPAnel -> Edit Field -> ReadOnly

    When i insert records, the field is editable, it only acts as readonly
    when edit data from the record.

    Is that behavior correct?

    Thanks......
    Attached Files

  • #2
    This is normal behavior for an application form type. You can set readonly behavior using this code at onScriptInit event: sc_field_readonly({fieldname}, 'on');

    Comment


    • #3
      Readonly is mainly used on keyfields AFAIK. I useually set the checkbox 'label' in the fieldproperties. This will cause the field to display as a label and not as a field.
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment


      • #4
        Hello,

        Yes this is the default behavior.

        regards,
        Bernhard Bernsmann

        Comment

        Working...
        X