<input type=hidden name="Platform" value="$in{'Platform'}">
<input type=hidden name="Customer" value="$in{'Customer'}">
<input type=hidden name="Commodity" value="$in{'Commodity'}">
You should have these fields also in sub html_record_form, except they should be
<input type=hidden name="Platform" value="$rec{'Platform'}">
<input type=hidden name="Customer" value="$rec{'Customer'}">
<input type=hidden name="Commodity" value="$rec{'Commodity'}">
JPD
http://www.jpdeni.com/dbman/