**nizar.g.qassis**hello,

i want to do this

if dropdown1 field is equal to "Hello" then number1 field is equal to "1"

if dropdown1 field is equal to "Hay" then number1 field is equal to "2"

can you help ? because i can't find it in the conditions

thank you,

- JotForm Support
**Welvin**Hi,

Please check this based guide: How-to-Insert-Text-or-Mathematical-Caculation-into-a-field-using-a-Condition. I am sure, this is exactly what you are looking for.

Let us know if you need any further assistance.

Thanks

- JotForm Support
**Welvin**My apologies! I have just tried it and the number field is not valid as an output field into the calculation condition. Please consider changing the

**Number Field**into the**Text Box field**, then of course, change the validation of the textbox field as**Numeric**:Thanks