1
0
-1

Hello everyone.

I need to upload staff information and use ajax subform every time I want to call the information. My problem is ajax subform will not populate from the data I uploaded. But it will populate if I manually add a new record. It can also populate the specific field I edited from the uploaded data. What is the reason and how can I solve this problem? 

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Anders . Sorry for the unclear questions. I will explain the steps.

      1. Table staff contains all staff information. I need to update staff info every month so I want to use import menu to do that.
      2. In form staffsv, I want to upload staff ID and their respective supervisor ID which come from table staff.
      3. The problem occurred when I want to populate supervisor information. The ajax subform does not populate from the data that I already uploaded to form staff. But if I manually input staff information, it can populate the supervisor ajax subform. This is not practical for me because we have 1000 staffs.
      4. I hope I can find the main issue with this design so I can fix it.

       

      Here is the form when the subform populate.

       

      But the console shows that supervisor information is same as staff information.

       

      I attached the sample app for your reference. 

      APP_appuser-1-20190509083123.jwa

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

        Hi, I am afraid the question is unclear and I do not understand what is meant by "will not populate from the data i uploaded". Perhaps you describe in detailed steps along with any console or javascript errors if any.

          CommentAdd your comment...