xsanisty / calx.js

jQuery Calx - a jQuery plugin for creating formula-based calculation form
http://www.xsanisty.com/project/calx2
MIT License
198 stars 72 forks source link

When using TextArea value as a formula for a hidden field, the hidden field doesn't get updated on changing the textarea value #66

Open ElEmFurt opened 3 years ago

ElEmFurt commented 3 years ago

I have a form with dropdowns, input type text and textarea and when changing data for a textarea, I keep the same text in a hidden field for pushing to the server, but the textarea change (blur) does not update the hidden field.

The same functionality for all my select dropdowns and text fields works fine (minus all the textareas).

I would appreciate you guiding me on what could be happening wrong here.

Here is a sample of the textarea - my identifier is S219 and it is the cell reference for the textarea and formula reference for a hidden field where the value doesn't get updated on changing the textarea data.

<textarea type="text" placeholder="Enter Enter any reasoning/comments:" data-cell="S219" rows="1" id="Responses_161_Answer" style="overflow: hidden; overflow-wrap: break-word; resize: none; height: 155px;"></textarea> <input data-formula="S219" id="Responses_161_Score" name="Responses[161].Score" type="hidden" value="" data-cell="CALX212"> <input id="Responses_161_ResponseID" name="Responses[161].ResponseID" type="hidden" value="2014">