uvic_coop Posted January 4, 2001 Posted January 4, 2001 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>
Keith M. Davie Posted January 5, 2001 Posted January 5, 2001 "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?
uvic_coop Posted January 5, 2001 Author Posted January 5, 2001 > 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!
Recommended Posts
This topic is 8791 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now