I have some fields in page disabled as for example:(using jinja2 templating system)
{{ form.na
You need to make the name field optional when defining the form.
name = wtf.TextField("Team Name", validators=[validators.Optional()])
Then in your views, pass a variable called "role" and set it to either manager or admin depending on the user.
{% if role == 'manager' % } {{ form.name(disabled=True) }} {% else % } {{ form.name() }} {{ form.title }} -- submit button --