Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
Whether the XML element exists or not should not matter. If it does not exist the text will remain empty, but you can still compare with the regular check, such as:
var input = item.Theme.ControlInputs.Find("Input1");
if (string.IsNullOrWhiteSpace(input.Text))
{
// empty
}