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.

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings