I have confirmation alert. If I click in the confirmation OK, should visible the manufacturer field.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 06:17 AM
Hi Experts
I have the confirmation alert. If click on the OK I want to make visible the manufacturer filed. If I click on the cancel I want to make manufacturer field hide.
Thanks in advance.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 10:05 AM - edited 10-09-2024 10:06 AM
Hi @dhineshkumar ,
You can use the below code:
var response = confirm("<Enter Your Message>");
// If user click on OK
if(response){
g_form.setDisplay("manufacturer", true);
}
// If user click on Cancel
else{
g_form.setDisplay("manufacturer", false);
}
If this solution helps you then, mark it as accepted solution ✔️ and give thumbs up👍!