input |
Domain: -
Default: -
Domain: valid variable name
Default: -
Domain: valid value (text)
Default: -
Domain: comma separated string containing valid input values
Default: -
Domain: regular expression (text)
Default: -
Domain: valid boolean (True|False)
Default: True
<define name="input"> <element name="input"> <ref name="dir_if_unless"/> <attribute name="message"/> <attribute name="variable"/> <optional> <attribute name="defaultvalue"/> <attribute name="validargs"/> <attribute name="validregexp"/> <attribute name="answer_required"> <!-- runtime evaluation <choice> <value>true</value> <value>false</value> </choice> --> </attribute> </optional> </element> </define>
<input message="Do you want to continue ?" variable="answer" defaultvalue="y" validargs="y,n" /> <input message="Enter a string :" variable="answer" answer_required="true" /> <input message="Enter a number :" variable="answer" validregexp="^[0-9]+$" answer_required="true" />
Copyright © 2002-2006, Sven Ehrke mailto:ericb@gobosoft.com http://www.gobosoft.com Last Updated: 7 July 2005 |