PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

passing a custom field to a form

  1. hello!!
    i know... there are several post about similar things...
    maybe i do not understand them completely.
    This is my case:
    i have a page where a user can upload an image and create a draft post.
    In that page there's a field where he can put his commission on the sale.
    Now,
    i am able to pass the commission field as a custom field in wordpress and generete smoothly the draft page.
    In the generated page there's another form (linked in the template) who should take the commission field and show it. This never happen.
    How can i do it?
    i need to pass the commission field to the new form.
    Thank you very much.

    Posted 12 years ago on Thursday February 16, 2012 | Permalink
  2. Hi, simmons,

    Do you have the custom field value available where you can add it to the querystring of the link to your other form? If so, what you need to do is create the field that will hold your commission on the new form. On that field's Advanced tab, you will select "Allow field to be populated dynamically" and enter the name you used in your querystring as the "Parameter Name". This will populate your form field with the value from the querystring.

    Let me know if you have questions or if I misunderstood your question.

    Thanks.

    Posted 12 years ago on Thursday February 23, 2012 | Permalink
  3. thank you!
    i followed all the post about this theme and now i'm on it. There is just one thing doesn't work. If i select "only to administrator" when i send the form id doesn't attach the string to the url (and that is good) but it doesn't show in the new form the value i wanted...
    i mean if i hide it doesn't work...

    Posted 12 years ago on Thursday February 23, 2012 | Permalink
  4. Do you mean you have the visibility on your commission field set to be "Admin Only" on the first form and it isn't being passed in the querystring to the second form when you do that?

    Posted 12 years ago on Thursday February 23, 2012 | Permalink
  5. yes.

    even if is both Admin only.

    also the fact is that in the url everyone could see the data... and have the possibility to mod it!

    Posted 12 years ago on Monday February 27, 2012 | Permalink

This topic has been resolved and has been closed to new replies.