Jump to content

This topic is 8082 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I thought I understood this and, in turn, wrote my CDML correctly, but I guess not. I've scoured the previous posts to no avail--please help.

I basically have a bunch of tables filled with fields I want people to be able to edit after they've entered their data. However, everytime I click "Edit", I'm brought to my error page. Sorry for the length, but I'll post the entire page here. Also, the last table is filled with portals, my understanding is I can't edit portals, which isn't germane to my problem as I usually take that last table out as I've been trouble shooting (i.e. the portals aren't my problem).

Like I said, this should work. In fact, I'm really sure I had a "smaller" version up and running before. Any help would be *greatly* appreciated.

Cheers,

Brian

---------------------------------------------------------

<meta name="Author" content="Brian Kraatz">

<meta name="GENERATOR" content="Mozilla/4.79 [en] (WinNT; U) [Netscape]">

<title>Check Entries</title>

</head>

<body><Font face="Arial" size=2>

<FORM ACTION="FMPro" METHOD="post">

<INPUT TYPE="hidden" NAME="-RecID" VALUE="[FMP-currentrecid]">

<INPUT TYPE="hidden" NAME="-db" VALUE="Locality_Entry.fp5">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Web Access">

<input type="hidden" name="-format" value="confirmedit.htm">

<input type="hidden" name="-Error" value="error.htm">

Your current token is: [FMP-CurrentToken]

<TABLE>

<TR><TD><H4>Author/Title Information</TD></TR></table><BR>

<font face="Arial" size=2>

<Table>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Title:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Title]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>First Author:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::First Author]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Third Author:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Second Author]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Fourth Author:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Third Author]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Fifth Author:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Fourth Author]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Additional Authors:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Fifth Author]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Second Author:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Additional Authors]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Publication Year:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Year]" SIZE=50></tr></TR>

</table>

<HR>

<TABLE>

<TR><TD><H4>Journal Information</TD></TR></table><BR>

<font face="Arial" size=2>

<Table>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Journal:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Journal]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Volume:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Volume]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Start Page:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Start Page]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>End Page:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::End Page]" SIZE=50></tr></TR>

</table>

<HR>

<TABLE>

<TR><TD><H4>Book Information</TD></TR></table><BR>

<font face="Arial" size=2>

<Table>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Book Title:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Book Title]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Book Editor 1:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Book Editor 1]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Book Editor 2:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Book Editor 2]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Book Editor 3:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Book Editor 3]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Book Editor 4:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Book Editor 4]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Additional Editors:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Additional Editors]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Publisher:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Publisher]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>City of Publication:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::City of Publication]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Pages:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Publication::Pages]" SIZE=50></tr></TR>

</table>

<HR>

<TABLE>

<TR><TD><H4>Locality Information</TD></TR></table><BR>

<font face="Arial" size=2>

<Table>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Locality Name:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Site Name]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>State/Provonce:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: State/Province]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>County:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: County]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Quadrangle:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Quadrangle]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Town. & Range:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Township]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Latitude:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Latitude]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Longitude:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Longitude]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Repository:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Repository]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Formation:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Deposit2_Entry::Formation Name]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Member:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: Deposit2_Entry::Member Name]" SIZE=50></tr></TR>

<TR width="500"><TD width="150"><font face="Arial" size=2><B>Age:</B></td><TD width="400"><font face="Arial" size=2><INPUT TYPE="text" NAME="Title" VALUE="[FMP-field: ResAge_Entry::Age]" SIZE=50></tr></TR>

</table>

<HR>

<TABLE width="600"><Font Face="Arial">

<TR><TD width="200" align=Left><Font Face="Arial"><B>Family</TD>

<TD width="200" align=left><Font Face="Arial"><B>Genus</TD>

<TD width="200" align=LEft><Font Face="Arial"><B>Species</TD>

</TR>

<TR><TD width="200" height="10" align=left>[FMP-Portal: Faunal_Entry]<INPUT TYPE="text" NAME="Title" VALUE="[FMP-Field: Faunal_Entry::Taxon Family]" SIZE=30>

[/FMP-Portal]</TD> <TD width="200" height="10" align=Left>[FMP-Portal: Faunal_Entry]<INPUT TYPE="text" NAME="Title" VALUE="[FMP-Field: Faunal_Entry::Taxon Genus]" SIZE=30><BR>

[/FMP-Portal]</TD><TD width="200" height="10" align=left> [FMP-Portal: Faunal_Entry]<INPUT TYPE="text" NAME="Title" VALUE="[FMP-Field: Faunal_Entry::Taxon Species]" SIZE=30><BR>

[/FMP-Portal]

</TD></TR></TABLE>

<HR>

<BR>

<INPUT TYPE="submit" NAME="-Edit" VALUE="Edit Data">

</form>

</body>

</html>

Posted

Brian,

Here are some initial observations:

1. The NAME= paramater should relect the field name; e.g:


Book Title:<INPUT TYPE="text" NAME="Publication::Book Title.1" VALUE="[FMP-field: Publication::Book Title]" SIZE=50>

Book Editor 1:<INPUT TYPE="text" NAME="Publication::Book Editor 1.1" VALUE="[FMP-field: Publication::Book Editor 1]" SIZE=50>

Book Editor 2:<INPUT TYPE="text" NAME="Publication::Book Editor 2.1" VALUE="[FMP-field: Publication::Book Editor 2]" SIZE=50>


2. If the field is from a relationship you will need to append the row number, in this case ".1".

Hope this helps.

Garry

This topic is 8082 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.