devapp
Posts: 0
Joined: Mon Mar 23, 2015 3:12 pm

Input data not resetting.

The input section is not resetting even after the data has been submitted to the db, can anyone elaborate me how to do it with or without a local variable and on which event to add the script?
Image
Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Input data not resetting.

Hello,

On what event do you invoke service?

devapp
Posts: 0
Joined: Mon Mar 23, 2015 3:12 pm

Input data not resetting.

Image

I've added
$('input').val('');
to the click event of "Add task" button and before navigating to the next page, but when I browse back to "Create New" page, the input field is clear but when I hit "Add Task", the previous data is being added to the db again.

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

Input data not resetting.

Hello,

Can you show us mapping for before send of your service,
it looks like you are saving it somewhere in LSV, that is why it saves old value

Return to “Issues”