Home > Forum > Rules, JS, SQL > Custom buttons in item lists

Custom buttons in item lists
0

MVP

Hello,

Does anyone know if it is possible to achieve the following functionality:
- I would like to insert a button in an item list column. I can achieve that so I don't need help with this (WebconBTN_01.png). This code produces the kind of button from WebconBTN_02.png image.
- When this button is clicked, I want to set the DET_Att1 (it's a Yes/No field) to 1 (not run the action from the screenshot).

Can someone help me out? Can this be achieved with javascript? If yes, how?

Thank you,
Martin

MVP
In reply to: Krzysztof Gaszczyk

Okey, so:

Nowy atribut - list field
Pytanie - column, which we change

OK, I found them but that's not working. Your code is setting the variable liczba to the total number of rows. I need to update the field in the row where the button is clicked. If I click on the button in the second row, I want to update the field DET_Att1 in the second row.

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.