# IOS Safari Appium issue - unable to set value in the field

**URL:** <https://discuss.appium.io/t/ios-safari-appium-issue-unable-to-set-value-in-the-field/34324>\
**Category:** Issues/Bugs\
**Created:** [August 2, 2021, 3:23pm UTC](https://discuss.appium.io/t/ios-safari-appium-issue-unable-to-set-value-in-the-field/34324 "2021-08-02T15:23:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![megha1988](https://discuss.appium.io/user_avatar/discuss.appium.io/megha1988/32/9107_2.png) [@megha1988](https://discuss.appium.io/u/megha1988)\
**Post date:** [August 2, 2021, 3:23pm UTC](https://discuss.appium.io/t/ios-safari-appium-issue-unable-to-set-value-in-the-field/34324/1 "2021-08-02T15:23:49Z")

</div>

- Platform you are automating (iOS or Android). - IOS
- Appium version - 1.17
- Simulator/Emulator or Real Device. – Simulator
- The language you are using for writing tests (client binding) – Kotlin
- Your OS – MAC

I am facing an issue with IOS safari , appium, automating the mobile web browser.  
On Login page of my application sendkeys is working fine for IOS Safari

On certain fields the sendkeys/setText nothing is not working - it is not entering any text in the field - locator is correct - same is working on android chrome browser.

**Scenario - Next button gets enabled only when the age field has value.**

I tried with javascript document.getElementById - set value and arguments[0].value=9 --\> it sets the value in the age field but then the next button doesnt get enabled. (I can see the value in the age field entered)

But when I manually do it or do it on Android Chrome - it works fine.

Can you please help me.
