104
Views
4
Comments
multie select with dropdown tags and insert in Data base

Hello 

Can anyone help me? I will explain my case 

I want to record a Log(table) with several lines(table)

like this:  for each log I want to select several lines using dropdown tags 

you can find attached the picture of my database also the function to save on the font end and also the server action to create or update 

                                                                                       Save button



                                              Create or update : 



 

2023-07-12 04-21-28
Ivan Maulana

do you can shared simple oml ?

UserImage.jpg
Suresh Devakumar Akash

Hi Ibtissam,

I am also not clear with your requirement, can you please elaborate ,what you need exactly, possibly with a supportive example.

Thanks

2023-01-21 03-57-41
Sagar Karambelkar

If I'm not wrong As per my Understanding, You want to Insert Multiple Selected lines into Log Table.

For that you have to call LogCreateOrUpdate Server action inside for each loop for individual lines.

yo can check the example below.

image_2022_11_02T06_04_44_809Z.png
UserImage.jpg
Ibtissam MS

Thank you guys,

I already solved the problem, I had to do this : 

for Id Line : TextToLongInteger(SelectedOptionList[SelectedOptionList.Length-1].Value)

and also for the line name : SelectedOptionList[SelectedOptionList.Length-1].Label

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