For all you PH Web users (all 2 of you)

John MacLerran macljohn@isu.edu
Wed, 02 Mar 2005 16:20:41 -0700


Harold,

Here's something you could try.

Modify the html template for the confirmation screen such that it has 
two forms -- the default one created by PHWeb, and a second one that has 
just the bare essentials to confirm the order (e.g. order number, a 
confirmation flag, etc). Have the action of the second form contain the 
application information that PHWeb will use to post the confirmation of 
the order. Then have the 'confirm order' submit button reside in the 
second form. That way, it'll be the one sent back to PHWeb.  The 
resulting html would end up looking something like this:


<form ... action=/cgi-bin/phcgi/ph_html=....&ph_qkc=...>
<hidden item for PH_ACTION>
<more hidden items>
<form data and display, including really big display item>
</form>

<form... action=/cgi-bin/phcgi/ph_html=...&ph_qkc=...>
<hidden items...>
<hidden item for order number>
<hidden item for other fields as needed>
<hidden item for PH_ACTION -- whatever is needed to trigger the 
'confirmed' action>
<html button code...>
</form>


Johnson, Harold A EDUC:EX wrote:

>We are attempting to write a PH web screen which prompts for confirmation of
>an order.  This confirmation screen is passed a variable number of orders
>and displays them.  (# of items and description)   Upon a submit, the system
>will accept up to 10 orders before crashing with a "internal server error".
>It appears as if the page is sending back ALL of the displayed items,
>including a large description field. 
>The question is, how do we stop the description field from being sent back?
>Adding a "display" clause to the PH field statement does not stop the
>behaviour.  It appears as is we are hitting a limit as to the informatrion
>being sent to the server.
>
>cheers
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.sowder.com
>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to powerh-l-request@lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>  
>

-- 
----------------------------------------------------------------------
  John MacLerran
  IT Systems Analyst                       email:   macljohn@isu.edu
  Idaho State University                             V(208) 282-2954
  http://www.isu.edu/~macljohn                       F(208) 282-3673
----------------------------------------------------------------------