[twill] display the current page URI everytime a form is submitted

Norman Khine nkhine at itaapy.com
Wed Mar 1 10:32:20 PST 2006


hi again,
on a script, how do you display the current page everytime a form is 
submitted?

i have a script that goes through a site with 12 very big forms

if i run each form one by one from the command prompt, i get

 >> submit
Note: submit is using submit button: name="None", value="Enregistrer"
current page: 
http://localhost/ecoles/1/2005/;page2_form?message=Formulaire+enregistr%C3%A9.

but if i run the script from the file, which is as follows:

go http://localhost/ecoles/1/2005/;page2_form
fv 1 ME    xx
fv 1 DE    10
fv 1 TE    200
fv 1 MG    45
fv 1 DG    45
fv 1 TG    0
submit
go http://localhost/emd/ecoles/1/2005/;page3_form
....
etc

my output does not display the returned url, but just goes into the next 
form as:

Note: submit is using submit button: name="None", value="Enregistrer"
==> at http://localhost/ecoles/1/2005/;page3_form
Form #1

...

do i have to run each form submit as a seperate file, or is there a 
command which i can put in the file to return this.

cheers
norman





-- 
Norman Khine
SARL ITAAPY 9 rue Darwin, 75018 Paris - Tel +33(0)1 42 23 67 45
Mail: nkhine at itaapy.com - Fax: 01 53 28 27 88




More information about the twill mailing list