Hi Andy,

>Probably some facy javascript can do the job but it would be good to stick
>with some standards like W3C's XForms (read a bit on that), and the
>Mozilla's XForms Extensions for FireFox scared me off when its doc stated
>HTTP Server Requirements this and that (I would hope XForms's ACTION can
>support both online/server processing and offline/local processing such as
>transforming and capturing/saving the user data into a local XML file.

You are exactly right that XForms is ideal for this. As explained in 'An 
Introduction to XForms Submission', XForms submission can conceptually be used 
for anything from HTTP requests, saving local files, sending emails, writing to 
databases...all with the same declarative mark-up:

  <http://www.formsplayer.com/node/730>

However, different XForms processors have a different approach to the question 
of local files. As you say, Firefox is very strict, and I'm not sure how you 
get around that. With formsPlayer, our XForms plug-in for IE6+, we throw up a 
prompt to the user if files are read or written to from the 'file:' protocol, 
and that cannot be disabled. But what we have added is a protocol called 
'cookie:' which you can use with PUT and GET to save and load local files based 
on the domain of the form being used. This allows you to do save and resume 
type operations, without needing to prompt the user, since data is saved and 
loaded from a per-user, per-domain directory.

formsPlayer is a free download if you want to give it a try. :) And our forums 
are pretty helpful if you have problems.

Best regards,

Mark

-- 
  Mark Birbeck, formsPlayer

  [EMAIL PROTECTED] | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294032
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to