June 14, 200025 yr 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>
June 14, 200025 yr Author 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!
July 6, 200025 yr 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>
Create an account or sign in to comment