Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CDML Portal - Adding Portal Row Problem

Featured Replies

Hello.

I have been trying unsuccessfully to add a row to my portal.

Here is my code:

<HTML>

<HEAD>

<TITLE>Register</TITLE>

<LINK REL=stylesheet HREF="http://myserver:591/OnlineReg/online.css" TYPE="text/css">

</HEAD>

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

<INPUT TYPE="hidden" NAME="-DB" VALUE="CE_Events">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Online">

<INPUT TYPE="hidden" NAME="-Format" VALUE="personal_info.htm">

<INPUT TYPE="hidden" NAME="-Error" VALUE="p_error.htm">

<INPUT TYPE="hidden" NAME="-Token.3" VALUE="">

<INPUT TYPE="hidden" NAME="-Token.4" VALUE="">

<BODY CLASS="first">

<P>

<TABLE>

<TR>

<TD>Enter Personal ID:<INPUT TYPE="text" NAME="CE_Registrations::Personal_ID.0" VALUE="" SIZE=10></TD>

<TD>Enter Password:<INPUT TYPE="text" NAME="CE_Registrations::Personal_OP.0" VALUE="" SIZE=10></TD>

</TR>

</TABLE>

<BR>

<BR>

<FORM METHOD="LINK" ACTION="personal_info.htm">

<INPUT TYPE="submit" NAME="-Add" Value="Complete Registration">

</FORM>

</FORM>

</BODY>

</HTML>

Can any tell me what I'm doing wrong.......

Thanks! Donna

Donna,

"-add" does not exist. You would need to use either "-edit" or "-new" with

<INPUT TYPE="text" NAME="CE_Registrations::Personal_ID.0" VALUE="" SIZE=10>

to create a new Portal row.

All the best.

Garry

I've just noticed that you have a nested Form:

<FORM METHOD="LINK" ACTION="personal_info.htm">

<INPUT TYPE="submit" NAME="-Add" Value="Complete Registration">

</FORM>

This will not work. Just use the "Submit" with a "-edit" or "-new".

All the best.

Garry

  • Author

Thanks Garry! As usual, something I just overlooked. I have reworked this now but it still is not working.

Perhaps my problem is that I'm trying to pass a token into a portal.

Here's my revised code:

<HTML>

<HEAD>

<TITLE>Register</TITLE>

<LINK REL=stylesheet HREF="http://209.174.169.66:591/OnlineReg/online.css" TYPE="text/css">

</HEAD>

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

<INPUT TYPE="hidden" NAME="-DB" VALUE="CE_Registrations">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Online_R">

<INPUT TYPE="hidden" NAME="-Format" VALUE="thank_you.htm">

<INPUT TYPE="hidden" NAME="-Error" VALUE="p_error.htm">

<INPUT TYPE="hidden" NAME="-Token.3" VALUE="2003-TR24">

<INPUT TYPE="hidden" NAME="-Token.4" VALUE="OCLC/ILL: The New Web Interface">

<INPUT TYPE="hidden" NAME="-Token.5" VALUE="6057">

<INPUT TYPE="hidden" NAME="-Token.6" VALUE="XYZ123">

<BODY CLASS="first">

<P>

<TABLE>

<TR>

<TD>Personal ID: <INPUT TYPE="text" NAME="CE_Registrations::Personal_ID.0" VALUE="6057" SIZE=10></TD>

</TR>

<TR>

<TD>Password: <INPUT TYPE="text" NAME="CE_Registrations::Personal_OP.0" VALUE="XYZ123" SIZE=10></TD>

</TR>

<TR>

<TD>Event ID: <INPUT TYPE="text" NAME="CE_Registrations::Event_ID.0" VALUE="2003-TR24" SIZE=10></TD>

</TR>

<TR>

<TD>Event Name: <INPUT TYPE="text" NAME="CE_Registrations::Event_Name" VALUE="OCLC/ILL: The New Web Interface" SIZE=45></TD>

</TR>

</TABLE>

<BR>

<BR>

<FORM METHOD="LINK" ACTION="thank_you.htm">

<INPUT TYPE="submit" NAME="-New" Value="Complete Registration">

</FORM>

</FORM>

</BODY>

</HTML>

Any suggestions?

Thanks! Donna

To start with, you cannot have nested Forms! E.G.:

<BR>

<FORM METHOD="LINK" ACTION="thank_you.htm">

<INPUT TYPE="submit" NAME="-New" Value="Complete Registration">

</FORM>

</FORM>

</BODY>

Make it look like this:

<BR>

<INPUT TYPE="submit" NAME="-New" Value="Complete Registration">

</FORM>

</BODY>

It seems to me that you are trying to add a new record to the file "CE_Registrations". However, the Portal has the same name which suggests that the Portal exists in another file, not "CE_Registrations".

Try this:

<HTML>

<HEAD>

<TITLE>Register</TITLE>

<LINK REL=stylesheet HREF="http://209.174.169.66:591/OnlineReg/online.css" TYPE="text/css">

</HEAD>



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

<INPUT TYPE="hidden" NAME="-DB" VALUE="CE_Registrations">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Online_R">

<INPUT TYPE="hidden" NAME="-Format" VALUE="thank_you.htm">

<INPUT TYPE="hidden" NAME="-Error" VALUE="p_error.htm">

<INPUT TYPE="hidden" NAME="-Token.3" VALUE="2003-TR24">

<INPUT TYPE="hidden" NAME="-Token.4" VALUE="OCLC/ILL: The New Web Interface">

<INPUT TYPE="hidden" NAME="-Token.5" VALUE="6057">

<INPUT TYPE="hidden" NAME="-Token.6" VALUE="XYZ123">



<BODY CLASS="first">

<P>

<TABLE>

  <TR>

                <TD>Personal ID:  <INPUT TYPE="text" NAME="Personal_ID" VALUE="6057" SIZE=10></TD>

 </TR>

        <TR>

                <TD>Password:  <INPUT TYPE="text" NAME="Personal_OP" VALUE="XYZ123" SIZE=10></TD>

  </TR>

        <TR>

                <TD>Event ID:  <INPUT TYPE="text" NAME="Event_ID" VALUE="2003-TR24" SIZE=10></TD>

 </TR>

        <TR>

                <TD>Event Name: <INPUT TYPE="text" NAME="Event_Name" VALUE="OCLC/ILL: The New Web Interface" SIZE=45></TD>

      </TR>

</TABLE>

<BR>

<BR>        

<INPUT TYPE="submit" NAME="-New" Value="Complete Registration">

</FORM>

</BODY>

</HTML>

Hope this helps.

Garry

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.