You do not have permission to delete messages in this group
Link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sammy.js
I'm using Sammy.Template to render my views; therefore, I need to be able to enter inside an object array returned by my function using a foreach.
Is it possible?
For example:
<%= result.steps[0].step1.fields %>
<%= result.steps[0].step2.fields %>
<%= result.steps[0].step3.fields %>
Each of the fields are an array of objects that I need to go through.
Thank you,
Tarcisio Lima
Ronald Sterckx
unread,
Jun 21, 2019, 10:38:39 AM6/21/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Link
Report message as abuse
Sign in to report message as abuse
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Sammy.js
Yes, to make a table for list of fields. I'm not sure about the structure of your object, so I can have errors in here <% result.steps.forEach(function(step) { %> <tr> <td><%= step.field %></td> </tr> <% }); %>
Op woensdag 21 juni 2017 20:59:53 UTC+2 schreef tarcisio tarcisio: