1
0
-1

 

Here is my sample of ajax subform. Actually i have question. how do i extract my data in ajax subform and save into hidden field?or can straightly save into table or datalist.?

    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      Hello there,

      To save straight into a table, you can go to the "Data & Binder" configuration tab, and change the store binder to the form binder of your choice.

      You can refer to AJAX Subform KB page here.

      1. abdul Fattah

        thanks Justin , but in my store binder i cannot find my form. why? how can i put in list of store binder?

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

      There are no Multirow From on Ajax (smile)

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

         

        I still cannot save into dataase. how to solve this problem? I use JCBC binder in Ajax subform setting

        1. Justin

          Try using a Multirow Form Binder instead, if you don't have any special requirements to store data. With this form binder, you only have to define the foreign key and target form. You can refer here: https://dev.joget.org/community/display/KBv6/Multirow+Form+Binder

        2. abdul Fattah

          if just straightly want to save data in ajax to database? how?

        3. Justin

          I am unclear on what you meant by "straight save to db". Do you mean by saving the content in ajax subform without submitting the form first?

        4. abdul Fattah

          no. what i means is, when i submit the form the content in ajax subform will be save into db\

        5. Justin

          The multirow form binder will do exactly that. Just choose your desired target form and foreign key, and content of Ajax subform will be saved to db table of target form.

        6. abdul Fattah

          Thank you Justin i will try. sorry make you stress to answer my question.

        CommentAdd your comment...