Query as default value / initial data of a form input

everything is on the picture.
Why my number input (or string input if i switch) doesn't want to use the result of my query6 as default value (which would make my process so much easier :sob: :sob: :sob: :sob:)... the error is in red
my default value should be 139
i am very new at developping thank you for your nice help :smiling_face: :pray:

Maybe query6.data[0]['MAX(id_nombre)']

1 Like

yes!! with ['0'] :smiling_face: {{query6.data['0'].max_id_nombre}}
thank you so much @ScottR !!

1 Like