1
0
-1
I know that you can set Maximum, Minimum and Initial value or a repeating block, is it possible to set the initial value dynamically from a drop down list?
So lets say the user selects the number 3 from a drop down list, I want the content in my block to be repeated 3 times when the page loads.
    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Attachment to support comments below:

      Dropdown_Repeat.png

      1. Jye Cusch
        Hi Fred,
        This could be done using a Business Rule [General Purpose] widget to run a line of JavaScript whenever the value of the dropdown list is changed.


        An example script is:
        {repeat_block}.setInstanceCount( {dropdown} );


        You will also need to set the repeating block reference toStatic and the dropdown lists reference toNumber type, see below:
        Dropdown_Repeat.png
        Hope this helps,
        Jye
      CommentAdd your comment...