Hey Eron,
Yeah, I wouldn't expect there to be direct association between the
cfinput and a component currently, though I could be wrong -- I so rarely
use cfform. I've got an auto-saving textarea in one of my applications
that uses a hidden iframe to submit its own form -- seemed to be the
most straightforward solution, although these days I'm sure a lot of
folks would use an xmlhttprequest instead (via Prototype most likely).
At any rate, this works just fine for me:
<iframe style="height:1px; width:1px; border:0px; visibility:hidden;"
name="autosave"></textarea>
<form action="saveit.cfm" target="autosave">
<textarea name="yadda" onchange="this.form.submit();"></textarea>
</form>
Though I also include a submit button in that form in case javascript is
disabled in the browser -- and then I use javascript to hide it when the
page loads. :P
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 503.236.3691
http://onTap.riaforge.org/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298942
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4