Skip to content

How to write something into a widget (form field) #1836

Answered by JorjMcKie
pedruntu asked this question in Q&A
Discussion options

You must be logged in to vote

This should do it:

field.field_value = "Mary"
field.update()

About the only thing you didn't try, right 😉?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pedruntu
Comment options

@JorjMcKie
Comment options

Answer selected by pedruntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants