Skip to main content
Inspiring
May 15, 2021
Question

Make the value in field disappear

  • May 15, 2021
  • 4 replies
  • 0 views

I have created an interface with 3 tab(A, B,C)...using chose function have configured it .

My doubt is::

1) if am filling all the value in tab A and move to tab B then value entered value in tab A should become blank.

In tab A have fields of text type and user type for user picker.

    4 replies

    natashan0002
    Inspiring
    May 15, 2021

    Hi,

    Are you saving the values entered in fisrt tab in local variable or ri?

    You can assign the entered values null(saveInto) on click of the other tab

    Inspiring
    May 15, 2021

    Thanks

    harshitb6843
    Brainy
    May 15, 2021

    Hi Radha,

    You can explicitly make those values null on the tab change in the saveInto of the button or link (whichever you are using to navigate to other tabs) and should also consider showing the user a warning for losing all the data if they navigate away. That way, you should be able to achieve what you are looking for. 
    Tip - Consider using buttons instead of links if you are looking forward to showing confirmation dialog before the user navigates away from the screen as the link will submit the form (if called inside a process model).

    Thanks,
    Harshit

    Inspiring
    May 15, 2021

    Thanks