Pass value from one field to another automatically

In ODK XLSForm, suppose I have two integer fields A and B. I want to show A's value in B automatically. So at which column I need to put the condition? Is it at constraint column?
Can anyone help with the example of a condition?

Hi @Rumana_Dilshad
Here is the documentation Dynamic defaults

thanks got it. But how can i compare two fields value if they are equal or not???

With just = sign like ${question1}=${question2}

at which column I should put this?

It depends on your needs. If you want to make sure answers are the same and block moving forward if they are not you should use constraint.
If you want to display/hide a question it will be relevant.

1 Like