cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Repeatable subform content in an html field

RichG_MDDC
Changemaker II

Hi,

 

We are just starting out with GovService and have a question about whether this is possible?

 

If a form contains a repeatable subform from a lookup integration is it possible to iterate through the returned rows in an html field for further customisation?

 

I've tried the following syntax as per the Granicus documentation but it doesn't appear to render the html correctly.

 

<![CDATA[ @af:repeat({subform1}) ]]>
<div class="row">
<a href="{subform1/UserProfile}" target="_blank">
<div class="councillors-item col-4">
<img src="{subform1/UserPicture}" alt="{subform1/display}" />
<div class="promo-title-councillors">{subform1/display}<br>{subform1/Party}</div>
</div>
</a>
</div>
<![CDATA[ @endaf:repeat ]]>

 

Thanks


Richard

1 ACCEPTED SOLUTION

RachaelT
Community Manager
Community Manager

Hi Richard, welcome to govCommunity! Thanks for posting your question. I would also recommend posting this question in the UK & Ireland Customers group, as there is an active group of govService users in there who may have a response for you.

 

Cheers,

Rachael

View solution in original post

2 REPLIES 2

RachaelT
Community Manager
Community Manager

Hi Richard, welcome to govCommunity! Thanks for posting your question. I would also recommend posting this question in the UK & Ireland Customers group, as there is an active group of govService users in there who may have a response for you.

 

Cheers,

Rachael

RichG_MDDC
Changemaker II

Hi Rachael,

 

Thank you I've done that and already received responses 😁.

 

All the best
Rich