Développer ma barre des réalisations de la Communauté.

Type
  • Toutes
  • Questions
  • Discussions
  • Idées
  • Blogs
Filtrer par contributions des utilisateurs
  • 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"       ...

    Type

    Questions

    Vues

    2.8K

    Like

    1

    Réponses

    0
  • 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...

    Type

    Questions

    Vues

    4.7K

    Likes

    0

    Réponses

    0
  • 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 ...

    Type

    Questions

    Vues

    2.9K

    Like

    1

    Réponses

    0
  • 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...

    Type

    Questions

    Vues

    2.4K

    Likes

    0

    Réponses

    0
  • 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...

    Type

    Questions

    Vues

    2.4K

    Likes

    0

    Réponses

    0
  • 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...

    Type

    Questions

    Vues

    4.7K

    Likes

    0

    Réponses

    0
  • 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...

    Type

    Questions

    Vues

    4.7K

    Likes

    0

    Réponses

    0
  • 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...

    Type

    Questions

    Vues

    4.7K

    Likes

    0

    Réponses

    0
  • Hi deepakt84913413​The 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...

    Type

    Questions

    Vues

    4.7K

    Like

    1

    Réponses

    0
  • deepakt1812​Yes, 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...

    Type

    Questions

    Vues

    2.3K

    Likes

    0

    Réponses

    0
Meilleurs badges gagnés par jagjeetthukral
Choisissez les badges que vous souhaitez afficher dans votre profil