Skip to Content
Menu
This question has been flagged
2 Replies
302 Rodiniai

Hi !!!

who knows how to use this.field_manager.set_values????

Please i need an answer please.

Portretas
Atmesti
Best Answer

this:

current method or class

field_manager:

The field_manager attribute is in fact the FormView instance representing the form view.

set_values():

This method takes a dictionary as first and only argument whose keys are the names of the fields to change and values are the new values.

Portretas
Atmesti
Autorius Best Answer

Thanks a lot for your answer :)

Can you give me a simple example please

Portretas
Atmesti