Since the Forms Server does not let you show modal UI, your best bet is to probably implement your own modeless in-flow "dialog" with conditional formatting by using a section that only gets shown when you have an error.
David Airapetyan / Software Services ArchitectQdabra® Software / Streamline data gathering to turn process into knowledge