ant prompt for user input

/ Published in: AutoIt
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <input message="Are you sure?" validargs="y,n" addproperty="input"/>
  2. <condition property="abort">
  3. <equals arg1="n" arg2="${input}"/>
  4. </condition>
  5. <fail if="abort">User aborted.</fail>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.