sfsmith Posted June 14, 2000 Posted June 14, 2000 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>
sfsmith Posted June 14, 2000 Author Posted June 14, 2000 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!
Newbies lars Posted July 6, 2000 Newbies Posted July 6, 2000 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>
Recommended Posts
This topic is 8975 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