Click to See Complete Forum and Search --> : passing a .cgi variable to a form?help!


erinoreilly
06-01-2003, 09:08 PM
Hi,
I don't know if any of you are familiar with soupermail.pl, but it is a popular form processing script.

I am using it as a pipeline, where information is submitted to a form, posted to soupermail.pl, then passed to another form. Along the way, I am trying to assign the unique reference number that soupermail produces and I am trying to pass that unique reference number as a form field. But I am having trouble getting it to work.

http_ref is the name of the .cgi variable that represents the unique identifier.

Here is what I have set in the config file:

gotosuccess: "http://www.tagoffer.com/Merchant2/merchant.mvc?Store_Code=hartz&Order=${form_Order}&Screen=SFNT&Action=ICST&Customer_Login=${form_http_ref}"

blank: testform.txt
failure: testformfail.txt

ref: %rrrr%

Where ref: %rrrr% is the format of the http_ref variable, Customer_Login is the name of the field that I am passing to.

My syntax problem lies somewhere in the Customer_Login=${form_http_ref}

but I'm not sure exactly where.

Any help is much appreciated - I can't seem to get an answer from the soupermail programmer nor the soupermail help board.

Thanks

Erin O'Reilly