E
eczino
I need to be read the value of a checkbox, and pass that value to an
OnClick event of a button in the form, and then display a confirmation
box if the box is not checked. I can't find anything that clearly
spells out how to do this, or if it is even possible. Here is what I
have, and it does not work.
{
// Write your code here
var subtoManager = XDocument.DOM.selectSingleNode("/pourchaseOrder/
my:SubmittedByManager");
if (subtoManager.Value = FALSE)
{
XDocument.UI.Confirm("Do you wish to continue?", 4);
}
}
This is the OnClick event of my button. If the SubmittedByManager
checkbox is not checked, I want to display a confirmation box.
Thank you for any help anyone might be able to offer.
Elliot
OnClick event of a button in the form, and then display a confirmation
box if the box is not checked. I can't find anything that clearly
spells out how to do this, or if it is even possible. Here is what I
have, and it does not work.
{
// Write your code here
var subtoManager = XDocument.DOM.selectSingleNode("/pourchaseOrder/
my:SubmittedByManager");
if (subtoManager.Value = FALSE)
{
XDocument.UI.Confirm("Do you wish to continue?", 4);
}
}
This is the OnClick event of my button. If the SubmittedByManager
checkbox is not checked, I want to display a confirmation box.
Thank you for any help anyone might be able to offer.
Elliot