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) »
  • How to customize new event form ?
Pages: [1]

Author Topic: How to customize new event form ?  (Read 902 times)

sushant1431

  • Guest
How to customize new event form ?
March 26, 2010, 03:42:57 am
I want to customize new event form. With the help of Custom data in admin I added new drop down box, but the problem is that i want to add condition on dropdown box value. For example if the selected value is 'A' then show a text box otherwise show something else........

So for that which file i need to edit. & i'm new in civicrm. I don't know how to use hooks.

Any help will be appreciable  :)


Thanks in advance
« Last Edit: March 26, 2010, 07:17:26 am by Donald Lobo »

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: How to customize new event form ?
March 26, 2010, 05:46:22 am
You can do this with some jquery / javascript. Basically onload you hide fields that are conditional.

HTh
Kurund
Found this reply helpful? Support CiviCRM

sushant1431

  • Guest
Re: How to customize new event form ?
March 28, 2010, 10:43:19 pm
But I don't know in which file i need to write logic  ??? ..... I mean where to put my javascript or php logic for applying condition on select option ?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to customize new event form ?

This forum was archived on 2017-11-26.