Hello!
I have this use case scenario:
1. DBF, used to save a persons fullname (First, Middle and Last Names, independently)
2. Same DBF has a repeatable region for subjects, multiple or no subject can be set.
What I want to Achieve:
Although a single form saves the persons name and subjects, I want to display the data in a tabular format with a new row for the same person with every subject.
Visually the output should be like below:
I tried something as:
And to display the output i have:
But i am unable to list all the names at once. with a new row for each subject opted.
Please help!
Regards,
Aashish
I have this use case scenario:
1. DBF, used to save a persons fullname (First, Middle and Last Names, independently)
2. Same DBF has a repeatable region for subjects, multiple or no subject can be set.
What I want to Achieve:
Although a single form saves the persons name and subjects, I want to display the data in a tabular format with a new row for the same person with every subject.
Visually the output should be like below:
- Code: Select all
-------------------------------------------------------------------------- Sr No Name Subject -------------------------------------------------------------------------- 1 John A. Doe Mathematics 2 John A. Doe Statistics 3 Jane B. Doe Economics 4 Jane B. Doe Business Funding 5 X Y Z PMFBY --------------------------------------------------------------------------
I tried something as:
- Code: Select all
<cms:pages masterpage="claim/entry-form.php" paginate='1' limit='25'> <cms:capture into='line_items' scope='global'> <cms:show_repeatable 'subject_details'> <tr> <td> <cms:show fname /> <cms:show mname /> <cms:show lname /> </td> <td> <cms:show subject_name /> </td> </tr> </cms:show_repeatable> <cms:set subject_details_present='1' 'global' /> </cms:capture> </cms:pages>
And to display the output i have:
- Code: Select all
<div class="table-responsive"> <table class="table table-bordered table-hover table-condensed"> <thead> <th class="text-center"> Full Name </th> <th class="text-center"> Subjects Opted </th> </thead> <tbody> <cms:show line_items /> </tbody> </table> </div>
But i am unable to list all the names at once. with a new row for each subject opted.
Please help!
Regards,
Aashish