You are viewing limited content. For full access, please sign in.

Question

Question

Message prompts on forms

asked on June 1, 2017

Dear all,

 

I will like to have a message prompt, e.g. pop-up message when I have selected a particular radio button or checkbox?

 

Any idea how I can achieve same?

 

Regards,

Vimal

 

0 0

Replies

replied on June 2, 2017

I'm not sure if you can change the html of the checkbox but you could add a onclick="alert('checked!')"; to the html

 

otherwise, some javascript like, 

 

$("input[type=radio]").change(function(){
    alert("button checked!");
});
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.