Form error, Uncaught TypeError: Cannot read property 'value' of null

I am trying to automate a form but i get an error
Uncaught TypeError: Cannot read property 'value' of null

"
var elemFound = SingleNodeForXPath( searchTitle );
var result = elemFound.value; #### Uncaught TypeError: Cannot read property 'value' of null ###
return "GOOD:" + result;
})();
"

This is the end of the js code and error.

I am using set front browser field to text to do this.

Thanks for all the help in advance :slight_smile:

<input class="form-control decimal " id="time_card.monday" name="time_card.monday" 
maxlength="14" value="" onchange="this.value=formatNumber(this.value);onChange('time_card.monday');" style="; " aria-label="Monday">

This is the html code.

This is a forum for use and help with Keyboard Maestro.
The problem you present is HTML and/or JavaScript problem.
It would serve you best to post your question at stackoverflow.com