Get value from type="Repeatable" form field - Joomla! Forum - community, help and support


hi,

i coding free module repeatable field.

code: select all

  <field name="star_slides" type="repeatable" icon="list" description="" label="edit slides" default="{'main_image':[''],'left_side':[''],'right_side':['']}">
      <fields name="params">
         <fieldset hidden="true" name="star_slides_modal" label="slides" repeat="true">
              <field name="main_image" type="media" default="" label="select main slide image" description="" />
                            ..........


for normal module parameter, can value this

code: select all

$test         = $params->get('test');


how repeatable form field , value of each repetition of field?

if try

code: select all

$test         = $params->get('star_slides');"

i list of values of fields in main field - star_slides. looking specific field values of sub fields such main_image

for example, in above case, goal value of field "main_image" each repetition

thanks






Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support