You will not be able to add a cfform element without some sort of ajax loading
the element from another document. That being said, it is possible and you
could even pass the element type and all of the parameters by passing them as
variables to the request page. Otherwise, you could always create new form
elements on the fly using javascript:
var inpt = document.createElement("input");
inpt.setAttribute("id","inpt_"+id);
inpt.setAttribute("type","text");
inpt.setAttribute("value",title);
$("#"+parent).append(inpt);
inpt.focus();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4