Is it possible to set the return value if the user puts in a value above or below the set min/max? I don't want the box to reset to the defaulted value if the user enters above or below the min/max set values. In verson 10.3
Hi conrad1209,
You could do this in both code behind and javascript. In this simple scenario, I get the value from the currency editor, check if it is between the min and max values and place it in a textbox:
And in javascript in would look something like the following function:
Please let me know if this approach is convinient for you.
Thank you for the reply. Would this be done in the code behind or javascript? Do you have an example? Thanks so much!
Hello conrad1209,
It seems that the “Value” and “Text” properties of WebCurrencyEditor are linked, thus modifying the one property would change the other, too. So in this case I would suggest a possible workaround – when getting the value from the editor, just check if it is greater or less than certain limits and change it accordingly.
Please let me know if you have further questions.