Jump to content
Server Maintenance This Week. ×

Problem with textarea


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

Recommended Posts

I want to include a <textarea> tag in my format file to let my clients submit edits to a large body of text. But the textarea tag doesn't seem to work with CDML. I keep getting an ERR:102, which translates into "Make sure the field you want to modify is on the layout you're using." It is.

Now the -Edit works just fine if I make my input type a standard "text" field.

Has anyone else experienced a similar problem with using <textarea>, and is there a way around it? Here's how I've set up the table using the textarea tag with the CDML. Actually, here's a sample of the whole form:

<form action="FMPro" method="post">

<input type="hidden" name="-DB" value="OnlineDB.fp5">

<input type="hidden" name="-Lay" value="Marketing">

<input type=hidden name="-Error" value="onlinedb/edit_error.htm">

<input type="hidden" name="-Format" value="onlinedb/edit_reply.htm">

<input type=hidden name="-recid" value="[fmp-currentrecid]">

<table width="528" border="1">

<tr bgcolor="#99CC99">

<td><font face="Arial, Helvetica, sans-serif" size="2"><b><font size="3">Human Interest Story</font></b></font></td>

</tr>

<tr>

<td><font color="#000000" size="2" face="Arial, Helvetica, sans-serif">

<textarea name="textarea" rows="10" cols="55" wrap="PHYSICAL" VALUE="[FMP-Field: RLS]">[FMP-Field: RLS]</textarea>

</font></td>

</tr>

<tr>

<td><font face="Arial, Helvetica, Palatino" size="2">

<input type="submit" name="-Edit" value="Submit Changes">

</font></td>

</tr>

</table>

</form>

Link to comment
Share on other sites

NEVER MIND!! While reading over my post, I discovered my problem. It's always such a simple thing, isn't it? I had the textarea named "textarea" instead of the FMP field name. So stupid! Putting in the right name for the textarea solved my problem.

Thank you!

Link to comment
Share on other sites

  • 4 weeks later...
  • Newbies

Always remember to change the "name" of the textarea name="textarea" to name="RLS"

this should work !!

<form action="FMPro" method="post">

<input type="hidden" name="-DB" value="OnlineDB.fp5">

<input type="hidden" name="-Lay" value="Marketing">

<input type=hidden name="-Error" value="onlinedb/edit_error.htm">

<input type="hidden" name="-Format" value="onlinedb/edit_reply.htm">

<input type=hidden name="-recid" value="[fmp-currentrecid]">

<table width="528" border="1">

<tr bgcolor="#99CC99">

<td><font face="Arial, Helvetica, sans-serif" size="2"><b><font size="3">Human Interest Story</font></b></font></td>

</tr>

<tr>

<td><font color="#000000" size="2" face="Arial, Helvetica, sans-serif">

<textarea name="textarea" rows="10" cols="55" wrap="PHYSICAL" VALUE="[FMP-Field: RLS]">[FMP-Field: RLS]</textarea>

</font></td>

</tr>

<tr>

<td><font face="Arial, Helvetica, Palatino" size="2">

<input type="submit" name="-Edit" value="Submit Changes">

</font></td>

</tr>

</table>

</form>

Link to comment
Share on other sites

This topic is 8710 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.