A few questions to identify the issue:1. Is your forms Json Model Based?2. Is the name of field which your are trying to populate "textbox"If answer to both the question is yes, then please try below JSON{ "afData": { "afUnboundData": { "data": { "textbox": "testing" ...
Thanks,The issue which you have mentioned is due to number higher that javascript's limit for numbers being converted to exponentional or scientific notations ex 123.11e26.This issue is at Javascript's end and not at AEM Forms end. You can go to browser's console, create a "var a = 1111111111111111...
Hi christofhed35451717,The instructions here work as is. I guess we will need some more information to help you debug. For starters you can compare the json you are populating your form with to the json created when you save the form.You can get the json on form save easily via network panel.While ...
Really Sorry for that. I was rearranging the paragraphs to make better sense and it got jumbled.What I wanted to write is :If the validation fails, the hook returns the form with to the browser again, showcasing the errors. An important point to note here is that all the validation should be a part...
Hi James R Green,When you enable server side validation, there is a server side hook which is enabled. When you submit the form, the form is sent to that hook, where all the Validate Rules (which are configured using widget options & validation rules in rule editor) that have been configured in th...
Hi James R Green ,I have tested the same on 6.3, 6.3 SP1, & 6.4 Beta Load 20 and validations are automatically triggered for numeric box on any value commit. I do NOT see any bug there, can you please check once more.deepakt84913413 :What was the initial issue you were facing,1. Was it Validations...
Hi James R Green ,Sorry for being noob. The field validation is automatically triggered when you make changes in the field values (any widget : text or numeric). (I might be missing something, just writing for my knowledge, please let me know what am I missing). Thus, in my perception, the script yo...
James R Green, deepakt84913413,I think I am missing something, I have tried this solution but it does not validate on focus out when I have NOT typed anything in the box, which was the initial requirement from deepakt84913413. Please let me now, if there is some step which I missed.Below are some...
Hi deepakt84913413The code I have shared has a comparing code already working on mobile sites, also you can use the below piece of code on initialize of root panel or the field to achieve what you want (validation to trigger when you leave the field.$(".numericbox1518941620523 input").focusout(func...
deepakt1812Yes, James R Green is right.Why don't you use HTML5 number field in your forms. I have created a blog post here with a step by step way to achieve what you want.Numeric Box Widget Tips in Adaptive Forms for Mobile Devices | AEM Forms Blog It works in mobile also, with all the rules. Ple...