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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Adding params to the URL in a Custom Form after validation
Pages: [1]

Author Topic: Adding params to the URL in a Custom Form after validation  (Read 1050 times)

sriraman.v

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.2.3
  • CMS version: Drupal
  • MySQL version: 5.5.8
  • PHP version: 5.2.9
Adding params to the URL in a Custom Form after validation
May 01, 2011, 09:09:55 pm
i have created a custom form in Civicrm Profile by using Add profile option and i used this form for profile.

For this profile, i have added the fields as firstname and marked as required.

by using "profile create mode", i submitted the form without entering the value of firstname.

After validation , it is redirected to "civicrm/profile/create" and  the validation error is shown .

my objective is to add params to "civicrm/profile/create"

being a custom form , i can't trace where the redirection happens in the code  ? Kindly help me

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Adding params to the URL in a Custom Form after validation
May 01, 2011, 11:55:37 pm
Why do you wamt to add params? Can you explain your use case

Kurund
Found this reply helpful? Support CiviCRM

sriraman.v

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.2.3
  • CMS version: Drupal
  • MySQL version: 5.5.8
  • PHP version: 5.2.9
Re: Adding params to the URL in a Custom Form after validation
May 02, 2011, 02:12:14 am
To strip the header, footer of the CRM page , so i want  to add a query string to the URL

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Adding params to the URL in a Custom Form after validation
May 02, 2011, 07:10:21 am

i assume u r aware that the footer (or some parts of it) needs to be there from a licensing perspective:

Powered by CiviCRM 3.3.5. CiviCRM is openly available under the GNU Affero General Public License (GNU AGPL).
Download source.     View issues and report bugs.     Online documentation.

You might want to read up on the AGPL and see what is the minimum footer links u need

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sriraman.v

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 3.2.3
  • CMS version: Drupal
  • MySQL version: 5.5.8
  • PHP version: 5.2.9
Re: Adding params to the URL in a Custom Form after validation
May 02, 2011, 09:39:12 pm
Ok thanks ...can you propose some of the good learning material for civicrm in online....

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Adding params to the URL in a Custom Form after validation
May 03, 2011, 12:22:31 am
You should read: http://www.flossmanuals.net/civicrm/
Developer intro: http://en.flossmanuals.net/civicrm/ch062_introduction/

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Adding params to the URL in a Custom Form after validation

This forum was archived on 2017-11-26.