2 # $Id: mixedform2,v 1.8 2020/11/26 00:26:50 tom Exp $
6 backtitle="An Example for the use of --mixedform:"
8 while test $returncode != 1 && test $returncode != 250
12 returntext=`$DIALOG --title "Mixed form demonstration" --ok-label "Submit" \
13 --backtitle "$backtitle" \
15 --mixedform "Here is a possible piece of a configuration program." \
17 "Username :" 1 1 "Kiran" 1 20 10 0 2 \
18 "Password :" 2 1 "pass" 2 20 8 0 3 \
19 "Retype Password :" 3 1 "pass" 3 20 8 0 3 \
20 "HOME :" 4 1 "Cisco" 4 20 40 0 2 \
24 show=`echo "$returntext" |sed -e 's/^/ /'`
30 --backtitle "$backtitle" \
31 --yesno "Really quit?" 10 30
44 --backtitle "$backtitle" --no-collapse --cr-wrap \
45 --msgbox "Resulting data:\n\