0

I want to create multiple subforms.

The first one will define breakpoints and give them a name, e.g. between 0-759 = mobile.

The second subform I want to use an image for that size. So I'd like to be able to have a subform which is able to check the first subform and create a dropdown list of the breakpoints. Ideally even if it isn't saved yet.

  1. Is that possible?
  2. What is the best way to achieve this?

My guess is with a custom form field and a JavaScript listener perhaps?

I would like to understand if there's a different process if we save it, e.g. using PHP instead of JS at that point.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.