跳至內容
選單
此問題已被標幟
2 回覆
324 瀏覽次數

Hi !!!

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

Please i need an answer please.

頭像
捨棄
最佳答案

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.

頭像
捨棄
作者 最佳答案

Thanks a lot for your answer :)

Can you give me a simple example please

頭像
捨棄