Sorry but, I am reopening this, because I need to change some parameters on
the client form before I can add it to the database.
I have a 2 fields database key:
cat_id (foreign key from table categories)
pro_id
In the table are some values:
cat_id pro_id pro_name
1 1 product1
1 2 product2
2 1 product3
2 2 product4
I need to let the user select the product from a HTML page in a combo basis.
Then i can code:
<select name="my_product">
<option value="1-1">product1</option>
<option value="1-2">product2</option>
<option value="2-1">product3</option>
<option value="2-2">product4</option>
</select>
When the user send the request I get a parameter my_product="x-y". Where x is
the encoded value of cat_id and y is the value of pro_id.
Now my problem comes to life: How to create new request parameters into an
action to make 2 new parameters:
cat_id="x" and pro_id="y"
Please help me ;)
Antonio Gallardo.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>