I think you'd need to pass the property to a Custom Action to check that. The 
only things you can do in Conditional Statements are listed at 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368012.aspx and I 
can't see anything which you could use there to test for the length of the 
Property your MaskedEdit Control populates.

Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 

-----Original Message-----
From: Kevin Lee [mailto:k...@zephyrsleep.com] 
Sent: 27 May 2013 15:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Checking Edit field for minimum length

Hi,

I'm attempting to verify a user's input in a MaskedEdit control to ensure that 
it contains the 10 numeric chars (for a phone number). How can I apply such a 
condition?

My current code only checks to see whether the property is empty.

    <Publish Dialog="InstitInfoDlg" Control="Next" Event="SpawnDialog"
Value="InstitInfoDlgError" Order="1">((INSTITUTIONNAME = "") OR
(INSTITUTIONTEL = "")) OR (INSTITUTIONTEL = "   -   -    ")</Publish>
    <Publish Dialog="InstitInfoDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="2">(NOT (INSTITUTIONNAME = "") AND NOT
(INSTITUTIONTEL = "")) AND NOT (INSTITUTIONTEL = "   -   -    ")</Publish>

Thanks in advance.

Kevin.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only 
SaaS-based application performance monitoring service that delivers powerful 
full stack analytics. Optimize and monitor your browser, app, & servers with 
just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! 
http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to