Jump to content

Recommended Posts

  • 2 months later...
  • 8 months later...
Posted

Hi @FireWire

Loving this module thanks. Run into one issue I don't know if you're aware of. It seems to break when using page breaks in the form. When you use the forward/back buttons it nests a new copy of the form inside itself.

Have you come across this?

(I'm also using MarkUp Regions if that could be related).

Posted

@JayGee Happy to hear the module is useful!

I haven't used page breaks before so I hadn't tested that. Since diving further into htmx driven FormBuilder forms outside of this module I've recognized a few places where it can be improved. Another item that needs to be handled is file uploads.

Work keeps me from doing things so I won't be able to handle this immediately. How critical is the issue for your use case?

MarkUp Regions shouldn't be a problem so no worries there AFAIK.

  • Like 1
Posted
On 5/28/2025 at 4:39 PM, FireWire said:

@JayGee Happy to hear the module is useful!

I haven't used page breaks before so I hadn't tested that. Since diving further into htmx driven FormBuilder forms outside of this module I've recognized a few places where it can be improved. Another item that needs to be handled is file uploads.

Work keeps me from doing things so I won't be able to handle this immediately. How critical is the issue for your use case?

MarkUp Regions shouldn't be a problem so no worries there AFAIK.

Hi @FireWire sorry for the delay I was away last week.

That all makes sense. And it's definitely not mission critical so no worries there, just thought you would like to know. If I get to it first I will see if I can figure out where the issue lies. My hunch is it could be as simple as needing to use hx-swap for each step of the form, whereas as the moment I think it's appending the code.

Obviously would need testing though as I'm not sure if the form/validation logic would break if parts of the overall form logic suddenly disappear from the page.

I think once this is resolved though, HTMX + multi-step formBuilder forms is a winning combo, adding real-time validation for fields without reloading!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...