352
Views
1
Comments
Solved
Save user input on OnBlur instead of onChange
Application Type
Traditional Web

Hi All,

I am struggling with the moment of saving the user input in an editable table. The save logic itself is working. 

Since I have multiple types of questions I am using webblocks to get the answer of that cell in combination with an answerid (works good). The issue I am facing is that currently the input saves on the OnChange property and after that an event is triggered to refresh the data in the parentblock and properly display the new answer. This is causing the table to 'collapse' once a user stops typing for a short period of time. I thought about using SetTimeout functions but that might interfere with the next user input again. Ideally it should save the data once the user clicks somethings else (OnBlur). This should also not close the table but just load the webblock again with new parameters. 

Is this possible?


Max

2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Max,


Take a look at the answer marked as a solution in this forum post with the same question.


Kind Regards,
João

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.