I've traced the problem to this chunk of the html.pl
html_record_form:
Code:
<P><B><$font>Primary Investors</B>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR><TD><$font><INPUT TYPE="text" NAME="PrimaryInvestor1" VALUE="$rec{'PrimaryInvestor1'}" SIZE="30" MAXLENGTH="200"></TD><TD><$font> <INPUT TYPE="text" NAME="PrimaryInvestor2" VALUE="$rec{'PrimaryInvestor2'}" SIZE="30" MAXLENGTH="200"></TD></TR>
<TR><TD><$font><INPUT TYPE="text" NAME="PrimaryInvestor3" VALUE="$rec{'PrimaryInvestor3'}" SIZE="30" MAXLENGTH="200"></TD><TD><$font> <INPUT TYPE="text" NAME="PrimaryInvestor4" VALUE="$rec{'PrimaryInvestor4'}" SIZE="30" MAXLENGTH="200"></TD></TR>
<TR><TD><$font><INPUT TYPE="text" NAME="PrimaryInvestor5" VALUE="$rec{'PrimaryInvestor5'}" SIZE="30" MAXLENGTH="200"></TD><TD><$font> <INPUT TYPE="text" NAME="PrimaryInvestor6" VALUE="$rec{'PrimaryInvestor6'}" SIZE="30" MAXLENGTH="200"></TD></TR>
<TR><TD><$font><INPUT TYPE="text" NAME="PrimaryInvestor7" VALUE="$rec{'PrimaryInvestor7'}" SIZE="30" MAXLENGTH="200"></TD><TD><$font> <INPUT TYPE="text" NAME="PrimaryInvestor8" VALUE="$rec{'PrimaryInvestor8'}" SIZE="30" MAXLENGTH="200"></TD></TR>
<TR><TD><$font><INPUT TYPE="text" NAME="PrimaryInvestor9" VALUE="$rec{'PrimaryInvestor9'}" SIZE="30" MAXLENGTH="200"></TD><TD><$font> <INPUT TYPE="text" NAME="PrimaryInvestor10" VALUE="$rec{'PrimaryInvestor10'}" SIZE="30" MAXLENGTH="200"></TD></TR>
</TABLE>
And here is the corresponding part of default.cfg:
Code:
'PrimaryInvestor1' => [28, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor2' => [29, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor3' => [30, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor4' => [31, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor5' => [32, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor6' => [33, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor7' => [34, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor8' => [35, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor9' => [36, 'alpha', 40, 255, 0, '', ''],
'PrimaryInvestor10' => [37, 'alpha', 40, 255, 0, '', ''],
(sorry for the big scrolling post)
If I delete (or remark/comment) out the table in my form, the view search will take me right to the record requested.
If I leave that part of the table in then view search returns the "page not found" error, but refreshing brings up the record anyway.
If I search and include one of the above fields as well (*) then I get the "page not found" error - however refreshing does NOT bring up the record(s) but instead returns the "page not found" error again.
I tried removing PrimaryInvestor10 thinking it was causing a problem with PrimaryInvestor1 - but it didn't seem to make a difference.
Any suggestions? I'm sure it going to be something simple.