- Fri Jul 22, 2016 10:16 am
#786175
Hello, my problem is simple but i cant figgure out how to do it. So basicly all i want to do is to see if a checkbox has been checked after someone have pressed submit. I've put a trigger at "After Dynaform" and it workes, but it will never return the correct answer between true and false.
This is currently how my trigger looks.
DocDone being the boolean that i use for the checkbox.
if(@=DocDone==TRUE)
{
G::SendMessageText("true", "WARNING");
}else{G::SendMessageText("false", "WARNING");}
And it will always print the message of "true" wheter or not the checkbox is checked or not.
I've tried with
@@DocDone==TRUE
@%DocDone== 1
@@DocDone== "1"
But they all yeild the same result or none at all.
Thanks
Axel Hansson
This is currently how my trigger looks.
DocDone being the boolean that i use for the checkbox.
if(@=DocDone==TRUE)
{
G::SendMessageText("true", "WARNING");
}else{G::SendMessageText("false", "WARNING");}
And it will always print the message of "true" wheter or not the checkbox is checked or not.
I've tried with
@@DocDone==TRUE
@%DocDone== 1
@@DocDone== "1"
But they all yeild the same result or none at all.
Thanks
Axel Hansson