Jonathan Lahijani Posted December 5, 2023 Share Posted December 5, 2023 I'm trying to add a markup field to a repeater item. I would think to use ProcessPageEdit::buildFormContent however that only executes when a page being edited is loaded, not when a repeater item is expanded. What is the correct hook that would allow me to use the form API and insert a markup field somewhere in the repeater item? Link to comment Share on other sites More sharing options...
szabesz Posted December 5, 2023 Share Posted December 5, 2023 Hello, Maybe this can be a good starting point: https://processwire.com/talk/topic/21756-field-access-on-runtime/?do=findComment&comment=187094 Link to comment Share on other sites More sharing options...
elabx Posted December 5, 2023 Share Posted December 5, 2023 I would try InputfieldWrapper::render since the repeater items are wrappers themselves 🤔 but not sure super. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now