question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Render without form tag?

See original GitHub issue

I want to use this project to extend existing forms but I cannot render the Form component inside another form. The two solutions I see is to convert the existing form code into schema json and merge it with the user supplied schema OR have the option to render without the form tag. Merging the fields should work but there are cases where the existing form layout would be difficult to represent with ui schema and jsonschema (examples: an “advanced” section which collapses down, code editor with codemirror, and embedded previews next to fields). It seems having control over whether to render the form tag would be more robust.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:3
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
n1k0commented, Mar 19, 2016

If I sent a pull request that implemented Fieldset which acts like Form but without the form specifics, would it be accepted (assuming all contributing guidelines is followed)?

If usage remains backward compatible and the code is good, definitely yes 😃

0reactions
epicfaacecommented, Aug 11, 2019

This was fixed by #1345!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Render form without tags django - Stack Overflow
Is there a way I can do that in Django, render a field without it wrapped in the element? Obviously, such a hard...
Read more >
Render ASP.Net controls without Form Tag - timjames.me
Net controls without Form Tag - tim james personal blog. ... I was trying to simply render a server control on a page...
Read more >
{% crispy %} tag with forms
Let's see how to render the form in a template. ... with their respective helpers, using {% crispy %} tag, without having <form>...
Read more >
The Forms API - Django documentation
It's meaningless to validate a form with no data, but, for the record, ... as_p() renders the form as a series of <p>...
Read more >
Action View Form Helpers - Ruby on Rails Guides
The fields_for helper creates a similar binding but without rendering a <form> tag. This can be used to render fields for additional model...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found