174
Views
16
Comments
Solved
How to check dropdown list
Application Type
Reactive

Hi Everyone,

I have the drop-down values active and inactive .when the drop-down value is empty and the button is clicked, 

show an error message as "select the status". When active/Inactive is selected and the button is clicked, then save the status and refresh the all dropdown list. I will Already try but it's not working properly so help to achieve this.

Regards,

Asik


Check DDl.png
UserImage.jpg
Rakhi Chouhan
Solution

Hi @SHAIK ASIK ,

Check this oml, I do some corrections in it .

I hope it is helpful for you.

Thanks 

Rakhi

CURDTABLETASK.oml
2020-11-13 07-48-15
Khuong Truong

Hi @SHAIK ASIK ,

In this case I think if you share your .oml it will be better for people to help.

As I see the picture you shared, I can suggest that:

- There should be a check status when click a button and show message if not select. (Can use List.Current or can pass current value into button click)

- If selected a status => save current record (CreateOrUpdate) => call refresh aggregare (or Data Action) to refresh the table view.


Regards,

Khuong

2025-10-18 11-13-53
Ramesh subramanian

Hey SHAIK ASIK,

Can you share me OML File? I will help you.

Thanks,

Ramesh


UserImage.jpg
Shaik Asik

hi ,Ramesh , Khuong Truong , Rakhi Chouhan.

I attached oml below.

kindly Thanks regards,

Asik

CURDTABLETASK1.oml
2020-11-13 07-48-15
Khuong Truong

Hi @SHAIK ASIK ,

I updated your .oml. 

Please take a look.

Regards,

Khuong

CURDTABLETASK1.oml
2020-11-13 07-48-15
Khuong Truong

Hi again,

I just updated the .oml (no need to use OnDropdownChange event).

Please re-download if you have downloaded before.

Regards,

Khuong

UserImage.jpg
Shaik Asik

hi Khuong Truong ,

It's not working if I select the active or inactive and also get the error message,

and 


thanks Regards ,

Asik

error.png
2020-11-13 07-48-15
Khuong Truong

Hi @SHAIK ASIK ,

Sorry, I updated wrong condition.

Just update again, please take a look.

I cannot publish to test so I may make mistake.

Regards,

Khuong

CURDTABLETASK1.oml
UserImage.jpg
Shaik Asik

hi Khuong Truong,

now it's not get a  error message 

thanks Regards,

Asik



UserImage.jpg
Shaik Asik

once I select the option from the Status(Dropdown list), the value should appear next to the button as shown like "Active". after this again the options (Active & Inactive) value should get loaded and be present in the dropdown list and should appear with the value i have selected earlier.

Regards ,

Asik

2020-11-13 07-48-15
Khuong Truong

Hi @SHAIK ASIK ,

I did update as per your first post "When active/Inactive is selected and the button is clicked, then save the status and refresh the all dropdown list. I will Already try but it's not working properly so help to achieve this."

Can you elaborate more about the above once you select and status display next column right? At this time the button is not clicked?

Regards,

Khuong 

CURDTABLETASK1.oml
UserImage.jpg
Shaik Asik

Hi Khuong Truong ,

if i do not select the dropdown list after clicking the button the error message will appear.


next, I select the dropdown list values and I click the button to only show values on the left side, not in the dropdown list.


the dropdown list always shown  should  select the values if i want to change the values 


Thanks, Regards,

Asik 

UserImage.jpg
Rakhi Chouhan
Solution

Hi @SHAIK ASIK ,

Check this oml, I do some corrections in it .

I hope it is helpful for you.

Thanks 

Rakhi

CURDTABLETASK.oml
UserImage.jpg
Shaik Asik

Hai  Rakhi Chouhan,

Thanks For helping to Achieve this Task 

Kindly Thanks Regards,

Asik

UserImage.jpg
Rakhi Chouhan

Hi @SHAIK ASIK,
can you share oml or logic actions screenshot which you created? It will be better for us to understand your problem.

Thanks 

Rakhi

2021-12-23 04-28-09
Navneet Sharma

Hello @SHAIK ASIK ,

I saw your provided OML file and trying to run your code but there is having some Publishing Issue.

but I have find out your issue without selecting any Status when you will click Button always it will show a error message "Check Status" 

 because of if your Is_Active var Default value is blank so it will treat as False always.

solution is 

1. you can removed Record1 Records from your Status Entities.

or 

2. you can set a Default value for Is_Active Local var.

So error will removed

I hope this will help you.


Thanks & Regards

Navneet Sharma

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.