Viewing 2 reply threads
  • Author
    Posts
    • #7061
      Marcus
      Member

      Just wondering if the ability to embed fields, such as in the demos for checkboxes and radio inputs, is allowed for any other fields.

      Would love to use it in an html field:
      Such as:

              ,array (
                  'type' => 'html'
                  ,'template' => 'average'
                  ,'attributes' => array(
                      'class' => 'left10'
                  )
                  ,'value' => sprintf(__('Workout Length: %s', 'diet'), '[field=mae_pb_wl_nested]')
                  ,'fields' => array(
                      array(
                          'type' => 'text'
                          ,'field' => 'mae_pb_wl_nested'
                          ,'value' => '1'
                          ,'embed' => true
                          ,'attributes' => array(
                              'class' => 'small-text'
                          )
                      )
                  )
              )
      

      Are there any other fields it works on, or just radios and checks?

      Thanks guys.

      Marcus

    • #7064
      jrcreative
      Member

      Is the end goal to update text from mae_pb_wl_nested as the value of the HTML field?

    • #7067
      Marcus
      Member

      Actually its more of a question on what allows it. 🙂

      Since it links to a fields array, I thought it might be interesting to know if you could apply it several times, and if other fields could use it.

      More curious than anything.

      Marcus

Viewing 2 reply threads
  • You must be logged in to reply to this topic.