January 4, 200125 yr Can global fields be updated via the web? And if so, does the method differ from updating text or number fields? The following code has no effect on the year1 and year2 global fields: <FORM ACTION="FMPro" METHOD="POST"> <INPUT TYPE="hidden" NAME="-db" VALUE="ProgramInformation"> <INPUT TYPE="hidden" NAME="-lay" VALUE="TwoYearInterface"> <INPUT TYPE="hidden" NAME="-format" VALUE="coopdb_2year.html"> <TABLE> <TR> <td>Year 1</td> <td><INPUT type="text" size=5 maxlength=4 name="year1"></td> <td>Year 2</td> <td><INPUT type="text" size=5 maxlength=4 name="year2"></td> </TR> </TABLE> <p> <INPUT TYPE="Submit" NAME="-edit" value="Continue"> <INPUT TYPE="Reset" VALUE="Clear form"> </FORM>
January 5, 200125 yr "Can global fields be updated via the web?" I don't know the answer to that question. However I do note that you are performing an -edit action. "Other tags that are required: -db, -recid, field name" (CDML Reference). Where is your -recid?
January 5, 200125 yr Author > I don't know the answer to that question. It's yes, as I just discovered. > However I do note that you are performing an -edit action. > "Other tags that are required: -db, -recid, field name" (CDML Reference). > Where is your -recid? I tried using [FMP-CurrentRecID] with code above, but -1 was returned. However, by switching from -view to -finall on the page previous to the above, a proper Rec ID was returned. Thanks for your help!
Create an account or sign in to comment