1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

repeating field

Discussion in 'XenForo Development Discussions' started by Zephyr, Sep 18, 2012.

  1. Zephyr

    Zephyr Well-Known Member

    Hello, I can create options XenForo but I would like the user to add fields.

    Repeating field.




    Is there a class in XenForo ready to repeating field please ? :)
    As I created a slideshow and I would like to add autan field I want without having to create new options.

  2. Chris D

    Chris D XenForo Developer Staff Member

    You can try checking the settings of that option by clicking the "edit" icon next to it.

    You'll notice that the option type is a PHP Callback defined as:


    So you'll need to check out the following file to see how that is achieved:


    There is a function in there called renderOption.

    You could use that as a starting point.

Share This Page