240
Views
3
Comments
Solved
Widget doesn't allow ajax refresh!
Question

I'm using a upload widget and a form on the screen and I can't use ajax refresh with it. How can I do the form validations without ajax refresh? 


Thank you in advance. :) 

UserImage.jpg
Maria Moreira
Solution

I've been there too. One solution is to do the validations, just as you would do them with Ajax submit, and then in the Preparation of the screen use the function IsLoadingScreen() to not run the all Preparation again. This way you won't lose the values in the input form!



2019-11-01 16-10-49
Nélio Dionisio

Hi Jose :) ,

You have to use a Submit action to upload, but If you place the upload widget in a Web block, and  you can the notify or the event to refresh the action on your form. And use the form in the screen with ajax refresh

I hope it helps,

2019-05-22 11-30-09
Marcelo Ferreira

Hi José,

I prefer solve this with an ajax submit button just to make the validations and have a hidden link to handle the submit. Eduardo describe the solution perfectly on this post.

Regards,

Marcelo 

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