Currently I have this:

js

```
$(function() {
    if(window.Touch) {document.addEventListener("touchstart", function() {
        $('.field1').val('Shorter Value');
    },false);}
});

```

The value of ".field1" is currently "Longer Value" but not until I click (tap in mobile) does it change to "Shorter Value"

Any ideas?