Hi FsTeam How do i prevent in displaying two alert messages scenario : I am having validation on text box which shows alert message on lost focus/ value change trigger at the same time i am having same validation on save button. if i leave text box and press save button both alert message get displayed on screen.

how to avoid this situation.

Regards Avinash

asked 18 Jan '17, 04:37

avinashnmore's gravatar image

accept rate: 0%

Hi Avinash,

You can check a session variable before showing alert and set this session variable just before (or after) you show the alert, then at the end of the procedure of send button clear this session variable.

Maybe you should write a procedure to show that alert, like:

procedure showAlert
  check session variable
  if variable is there then
    set session variable
    show alert
  end if    
end procedure

-- run this proc at the end of save button's action procedure
procedure clearAlert
  unset session variable
end procedure

Kind Regards


answered 18 Jan '17, 09:15

formspider's gravatar image

formspider ♦♦
accept rate: 21%

Hi thanks of reply , will try

Regards Avinash

(18 Jan '17, 23:37) avinashnmore
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 18 Jan '17, 04:37

Seen: 2,722 times

Last updated: 18 Jan '17, 23:37

© Copyright Gerger 2017