CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • HTML Snippet problem: form submission -> empty fields on CiviCRM page
Pages: [1]

Author Topic: HTML Snippet problem: form submission -> empty fields on CiviCRM page  (Read 899 times)

troubador

  • Guest
HTML Snippet problem: form submission -> empty fields on CiviCRM page
September 17, 2010, 12:00:22 pm
Hi! I'm trying to use the HTML snippet of a Profile on another site, and it doesn't seem to work. When I submit the form on that other site, I get redirected to the profile on a CiviCRM page, and the fields are all empty. I have tried setting up a simple Profile with only a single field, and even this snippet doesn't seem to "take." I know that if there is an error in the submission, CiviCRM will rebuild the form page as if no data was submitted, but again, I've tested this with a profile with a single field, so I don't think that is it.

How would I debug this? Where should I look? I even tested with a snippet from the CiviCRM demo to make sure it wasn't an issue with my server, and the CiviCRM demo site works as expected.

Thanks,
troubador.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: HTML Snippet problem: form submission -> empty fields on CiviCRM page
September 17, 2010, 02:06:45 pm
Check the exact URL of the snippet's form action. If you've got multiple URLs set up on your main site (with redirects) - that might cause this .... e.g. http;//example.org and http://www.example.org
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • HTML Snippet problem: form submission -> empty fields on CiviCRM page

This forum was archived on 2017-11-26.