1
0
-1

Hi everyone,

I seem to have an issue with form elements involving subform repeating (form grid, subform repeater).

My form A has a form grid FG involving form B and a subform repeater SR involving form C.

The issue is linked to CSRF because when the record was created from my computer I do not have any issue. But when trying to edit records created by someone else on another computer then issues appear.

First think, for testing I disabled CRSFGuard as proposed by Owen in Joget OWASP_CSRFTOKEN in V5

But then some issue remains as the edit/delete/add buttons do not appear on the form grid FG when editing a record created by someone else. On subform repeater SG delete/add buttons don't work and any edits in the subforms C are not saved when saving form A.

Form grid FG in form A when record 1 was created by someone else

Form grid FG in form A2 when record 2 was created by me

Note : The joget server is installed in location A. Users usually connect from that same location. Myself as admin can connect from locations B or C.

Thank you for your help,

Best regards,

Baptiste

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Hi, you can try to check your browser console to see if there are JavaScript errors especially if you have custom scripts in your form. JavaScript errors might interfere with the rendering of the forms and possibly cause CSRF errors too.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hello Anders,

        Spot on answer. Thank you very much!

        Nevertheless it is funny how it interacted with the Form Grid and Subform Repeater Edit and all. 

        Best regards,

        Baptiste

          CommentAdd your comment...