lewisjenkins / craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.
Other
147 stars 11 forks source link

Front end form use #9

Closed sweetroll closed 6 years ago

sweetroll commented 8 years ago

Hey,

Is there a possibility to add in support for use with something like Sprout Forms for front end forms?

Cheers

benjaminkohl commented 8 years ago

Related to front end forms, how do I list the field's options in a front end template? I tried using the usual fieldObj.settings.options but it says the "options" key does not exist. I tried the "json" key but nothing outputs to the template.

TomDeSmet commented 7 years ago

To bad this year old thread is still open unanswered. I could really use an example of how to use LJ Dynamic field on a front-end form.

kinoli commented 6 years ago

Did anyone ever get this to work on front end forms?

kinoli commented 6 years ago

FYI: the solution is to build it on the front end in the same manner that you are loading it in the backend field when you setup the field. This post should help.

https://craftcms.stackexchange.com/questions/9369/how-to-populate-a-custom-checkbox-field-with-tag-data-dynamically/9381

lewisjenkins commented 6 years ago

Dynamic Fields for Craft 3 is now available, so closing this issue.