Set select fieldtype options dynamically

How to set “Select” fieldtype’s options dynamically on change of other “Data” fieldtype in report ?

@nishith,

use the frm.set_df_property("fieldname", "options", ["Option 1", "Option 2"]);

Thanks,
Makarand

1 Like

Thanks for the response but It’s .js file of Reports not of Doctype.

hi all,

an Anybody tell mehow to use python code for set options for select field dynamically?

@nishith Have you find any solution yet? I am facing same problem