Change form type

What I’m trying to do:

I created a form using material design , is there any way to change it to blank panel form without affecting the components and code inside ?

What I’ve tried and what’s not working:

Code Sample:

# code snippet

Clone link:
share a copy of your app

got it… changed the form html property to custom html

Just as an aside, you can copy and paste all components and code really efficiently to anew form.

There is another post where I asked the same question some one ago - I’ll find it and link it for reference

2 Likes

The easiest way I’ll say is to simply copy the css and html from another application to your application. It works perfectly.

I found the other method in some of my old code before I copy and pasted.

Just set the html property of the form to nothing.

For example, to set remove the material theme from the material_form, use:
material_form.html = ''

Or from with in the form
self.html = ''

Hopefully that works as it has been a while since I looked at this

1 Like

i just changed the html property of the form to custom-html and eerything is still intact :slight_smile: