Please enable JavaScript to view this site.

iService Forms User Guide

Navigation: Form Commands > $Repeat

Using Repeat Within My Account

Scroll Prev Top Next More

The subscriptions page uses a combination of $IF and $repeat. The if statement is used in the event there are no mailing lists to display, and the repeat command generates a repeating list.

 

$if -myaccountlists$

  $repeat -myaccountlists$

    $value -myaccountlist(name)$

    $value -myaccountlist(description)$

    $input -id'enteruniquenamehere' -myaccount(list)$ <-- Creates a check box for subscribing to the list

  $endrepeat$

$else$

No Mailing Lists

$endif$