@joseph-benguira said in Cloud Backend trigger formula parameter:
$("input[name='EMAIL']").val()
Thanks a lot Joseph for the example, so not javascript but jQuery actually, I see.
I tried with jQuery to get the parent element ID but it also did not work:
$(this).parent().attr('id')
Did you try on your side? Here is how to reproduce:
- Create a button section, give it an ID (edit element -> identification)
- Add a button in this section and create a cloud backend action
- Before the function call, check the box "execute a javascript" and add a code to trigger a confirmation pop up for e.g. Put the parent ID in that pop up:
//I tried this:
var id = this.parentElement.id
//and this:
var id = $(this).parent().attr('id')
confirm(id)
Let me know if you succeed and how!
Thanks!
Constance