Re: view object as query string

Justin Carter <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAMLJQft2mTb8Q=dRGdyhzKHKAKdiiEF3oY6owcy5YBEiy6ySQA@mail.gmail.com>
Does it need to be done client side?

On the server side you could wait for the form submission, validate and
save the object, then use CFHTTP to send a POST to the third party with all
the form variables that you've already validated and saved?

cheers,
Justin


On Fri, Sep 27, 2013 at 9:37 AM, Might Aswell <[email protected]> wrote:

> Hi.
>
> I have a need to post a content object to a 3rd. party
>
> Basically I have a content type / form / rule set up to collect data via
> an  inquiry form. I need to post the form collected data to another URL via
> a hidden iframe.
>
> I have a content type MyInquiry, and rule set up (based of farFeedback)
> that is working nicely... data is stored in FC database, email messages get
> fired off to inside team and customer, and the "success message" is
> displayed in the container after the form is submitted.
>
> Now I need a easy "farcry way" to pass the fieldnames and submitted values
> safely as a query string.
>
> Outside of farcry I could use qstring = getHTTPRequestData().content on
> the form processing template and that worked well but as I will need to add
> more farcry forms and more external URLs to post to I want to do this in a
> more rule/webskin fashion but I am admittedly Noob...
>
> Thoughts, pointers, suggestions, code?
>
> Thanks!
>
> Chris
>
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.