Question

I need to display two forms depending on the context. The second form should contain a name and email text input followed by the first form content in that order, but only when the user is not authenticated.

I tried with Python class inheritance but in every tested cases the two new fields were displayed after the content of the first form.

Is there a way to correcly factorise common fields in deform forms or to specify a different display order?

Était-ce utile?

La solution

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top