Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [forms]

The tag has no usage guidance.

0
votes
1answer
15 views

NEWBIE - Move Data fields in input form

Members, as a relative newbie to Civi, i would like move some entry forms for a new contact (in germany, zip comes before city...) basically it is relevant to adresses now, but there could be more ...
1
vote
1answer
14 views

how to add custom validation rules to civievent registration form

I've got an event registration form that I've customized putting Jquery into a custom .tpl override file. It's all working fine, except I'm not sure how to go about adding a custom validation rule. ...
0
votes
0answers
13 views

CiviEvent: how to set up separate online event registration forms for different participant roles?

I would like to know if it is possible to set up separate online registration forms for different event participant roles within one event. For example, I would like to use a different additional ...
3
votes
2answers
29 views

Is there a way to have a “from and to” field , need this for business hours “to and from”

I want to record the working hours from my prospects, so I need a flexible to and from field, like: 9-5, 8-5 etc... I could do drop down selects, but I would rather have it custom, so a double drop ...
0
votes
1answer
18 views

Cant find a way to access the CiviCRM $form object in Drupal

I'm having trouble accessing the CiviCRM $form object on a Drupal site running CiviCRM. In Drupal, I can use hook_form_alter() anywhere in code and make changes to any form object in Drupal. I'm ...
1
vote
1answer
13 views

User Profile Self Update

I want a user to come to my website and fill out the contact form depending on whether they're individual volunteer or an organization. Once they submit that form, it should create a username/password ...
0
votes
1answer
19 views

form to unsubscribe from a newsletter but from all

I wish to propose a form to allow a contact to unsubscribe from a newletter but not from the set to which it subscribes. currently, the form I created unsubscribed from all newsletters. It is ...
3
votes
1answer
37 views

How to change the value of a custom radio button field programmatically?

I have a CiviCRM profile that hosts a custom field. The custom field is of type "Radio-Button" and hosts two options: What I'm trying to achieve is changing the values of each option programmatically ...
2
votes
3answers
98 views

Can we integrate forms on wordpress using CiviCRM?

I just wanted to ask what plugins or any ways to integrate forms in wordpress that can integrate using CiviCRM?
1
vote
2answers
32 views

Address formatting

I'm trying to find a way to change the address format in CiviCRM, to the Australian address format. I've had a good search but can only find this these from 5 years ago. https://civicrm.org/blog/...
1
vote
1answer
24 views

CiviEvent multiple participant registration does not save all field values to contact

I've come across a weird problem while trying out the CiviEvent participant registration that I would like to share with you and hear your thoughts. Here is the scenario: So, I created an event in ...
1
vote
2answers
24 views

Best Form Option

We are trying to make CiviCRM the first point of membership and payment data capture. For the last two years our organization has been using a home-grown MS Access database for data capture and then ...
0
votes
1answer
18 views

Form for billing information

How to remove the "Second name" field in the billing form, I can not find the path to reach this form and modify it. Thanks
4
votes
2answers
76 views

Gravity Forms integration with CiviCRM - AutoFill contact field

I have CiviCRM and Gravity form both installed on my Wordpress website. I also bought the CiviCRM + Gravity Form plugin that integrate them together. I want to see how will I be able to use CiviCRM ...
1
vote
3answers
28 views

How to have form not require billing address if zero fee in priceset is selected in Event?

Using CiviEvent, I have an event with a priceset that includes various prices, but also a zero fee option. The billing block information should not be required if zero fee is selected, but I can't ...
1
vote
0answers
15 views

Signup/Contribution pages render forms with double County and Country dropdown selectors

Signup/Contribution pages render forms with double County and Country dropdown selectors. How di I remove the redundant ones?
1
vote
2answers
42 views

How are CiviCRM form names defined (civicrm_validateForm)?

I am attempting to perform form validation on various CiviCRM forms (profile forms and forms within contribution pages) by hooking into hook_civicrm_validateForm. In my php code, I would like to ...
0
votes
2answers
20 views

Convert Submitted CiviCrm Membership Form to PDF

Please does anyone know how to generate a pdf document from Membership Forms submitted by members n Civicrm? Is there a way to implement this. I am using Civicrm/Wordpress
0
votes
2answers
41 views

Adding and storing form fields

I figured out how to add form fields using the buildForm hook. I am adding a select element to a participant profile on an event registration form. Do the values from the added fields get saved when ...
3
votes
2answers
21 views

How to setup an auto email for a specific group sign up?

I am looking for instructions on how to set up an auto email when someone signs up and joins a specific group. Thank you for your assistance.
0
votes
0answers
115 views

Undefined Offset error adding users to group

I am trying to add some users to a newly created group and am seeing this: Notice: Undefined offset: 7 in CRM_Contact_Form_Task_AddToGroup->buildQuickForm() (line 122 of /var/www/html/civiclc/...
0
votes
1answer
34 views

Civi forms in Joomla module (qfKey?)

I am trying to put a "mailing list" subscribe form into a Joomla module (having the sign-up be its own page is not very useful). However, I am running into problems with qfKey. How can I generate a ...
0
votes
0answers
23 views

New Event form opened via .crm-popup stays in modal until “Save and Done”

We open civicrm/event/add?reset=1&action=add link in Drupal node/add form by adding .crm-popup class to it. Event form has several steps to fill ( Location, Online Registration, Fees etc.,) but ...
0
votes
0answers
14 views

Error randomly appearing when submiting forms

Our users report an error page when they submit our standard civiCRM form : - https://www.webassoc.fr/pros-du-web/rejoignez-nous/ - https://www.webassoc.fr/associations/rejoignez-nous/ It appears ...
2
votes
1answer
25 views

Creating tags from fields

Is it possible to create tags from fields, where someone selecting a certain option tags them with that option. I.E. selecting the volunteer option tags the new contact as volunteer?
1
vote
1answer
16 views

Can CiviCRM provide a warning/error if a user submits a certain organization name as their current employer?

We've had a long standing issue with our users entering in Catholic Charities as their organization name when registering for events, making donations, etc. It's caused havoc in our system as we will ...
0
votes
1answer
18 views

Report with calling form

A user handed me a printed sheet from a previous database and asked me to recreate it. It contains contact information, a list of contributions, the most recent memo, and several blanks to be filled ...
0
votes
1answer
27 views

CiviCRM Profile Forms: Label and TextBox on the same line

Need your help....I have a form (created via a profile) which contains textboxes with labels...The default view shows the textboxes below their respective labels...Is it possible to show the textboxes ...
2
votes
1answer
100 views

Gravity Forms/CiviCRM add on - adding record to groups

I am using the Gravity forms to CiviCRM plugin. http://shop.civivip.com/civi-plugins/gravity-forms-integration/ It is passing the data but not seeing where it actually will specify what group you ...
2
votes
1answer
48 views

How to make an Event registration form where you can choose which event you are registering for?

Let's say I want to make 3 Webinars, I want a registration form where people can enter their contact info and then select the Webinar (which is an event) and than click submit. I can do it with custom ...
1
vote
1answer
42 views

Extending CiviCRM Advanced search (queryObjects hook)

I am adding a Soundex featured to the advanced search. I am using the queryObjects hook to add this into the query. The documentation on this is spotty, only referencing CiviHR. I have downloaded that ...
2
votes
1answer
57 views

Membership form that also allows for just a donation to be made

The membership form https://www.colongwilderness.org.au/join-donate-membership has the option to select a membership or 'none' and make a donation. If just a donation is chosen then the form submits ...
1
vote
0answers
68 views

Setting Default Value BuildForm Hook does not work

I tried to implement the following hook (in my extension "cividoncamillo"), to set a default Contribution Type, but it does not work... Any Ideas why not? //does not work function ...
1
vote
1answer
76 views

Google forms, mailchimp and civicrm

I want to collect some data from our contacts through Google forms, which I can do. But is there a possibility to link to civicrm through mailchimp? I am new to civicrm and mailchimp. What can be ...
1
vote
1answer
41 views

Dependant autocomplete civicrm

Working on custom enhancement, two text fields Parent and Child field. Existing:- Parent autocomplete - lists all existing contacts Child autocomplete - list all existing contacts Required:- ...
2
votes
1answer
703 views

How can I trigger a selection for a Select2 EntityRef element via javascript?

The CiviCRM EntityRef form element uses a Select2 select box to make lots of CiviCRM forms more awesome. A user can, for example, search for contacts to choose one. Great. I am building an extension ...
4
votes
3answers
55 views

Conference Registration with Housing Requirements

I am looking for a way to run registration for a conference next summer. In addition to meetings, interest groups and general sign-up, I need to be able to assign housing and coordinate special needs. ...
3
votes
2answers
62 views

Membership Signup Form - add “Phone Number” field (required)

For this membership signup page: https://connectionpractice.org/membership/ I want to add "Phone Number" as a required field for people signing up for a membership. I can't find where I can ...
2
votes
2answers
43 views

Adding validation: cannot use $this in formRule() of Form

I am using CiviCRM 4.7.22 with Drupal 7 on Windows. I have a basic question. In the formRule() function inside the MembershipRenewal.php containing Membership Renewal Form if I use $this as below $...
2
votes
1answer
58 views

Recommended way to deal with delete action in a page?

When developing extensions I have always followed this path when I had a page listing stuff (for example books) and an action link to delete the book: Create the page and add a link to the form ...
1
vote
0answers
38 views

Wordpress custom contribution and newsletter signup forms

How customizable are the contribution forms? I have created a standard contribution page from the CiviCRM plugin, but I would like to hammer it into a very stylized design. Alternatively, is it ...
0
votes
0answers
39 views

Add new fields by jQuery / Ajax

Is there any way to add form fields on fly ? I am using module_hook_buildForm but these fields are not setting where I wanted to. Actually in search builder you will see fields are adding dynamically. ...
1
vote
0answers
42 views

Submit button on a profile is missing

After updating CiviCRM from 4.7.14 to 4.7.21, I got a strange problem. My newsletter subscription form (a profile with a name and email field) lost its Submit button. The submit button is missing from ...
1
vote
1answer
55 views

How do I redirect back to the same tab after submitting a form?

I'm creating a custom tab for events. I've used hook_civicrm_tabset to add a tab to the event management pages. In that tab, I have a form generated using civix. Upon saving the form, my operations ...
4
votes
2answers
30 views

How can I detect whether a form is being filled in via the admin pages, rather than via the front-end?

Is it possible to detect whether a user is filling in a form in the front-end or the back-end? I want to display a status message for the latter, but I don't want it appearing for regular users using ...
0
votes
1answer
33 views

User is logged into different account on CiviCRM than Drupal

This is happening inconsistently, but often enough to be a problem. So far, we have come across two issues with it: #1 - A new user registers for the site. That user is then taken to a CiviCRM ...
1
vote
3answers
60 views

Editing a label in “new individual” form

I want to edit a field called "source" in the new Individual form. I want to change the name of the field. where can I change it?
0
votes
1answer
17 views

Detect price group term period on CRM_Member_Form_MembershipRenewal or CRM_Member_Form_Membership

I have a price set which has the same membership with different terms i.e. 1 year, 2 year, etc. When using the x_civicrm_postProcess($formName, &$form) hook, I can't find the term selected in the ...
0
votes
1answer
48 views

Public CiviCRM forms not working for anonymous users

Public CiviCRM forms (contribution pages, registration for events, mailing subscriptions, etc.) works for logged users but when we try to use for anonymous users they don't work. For example, if we ...
1
vote
2answers
41 views

Datepicker not visible

I am unable to use datepicker with popup forms enabled - calendar does not appear active on top of the form but underneath (discovered after reducing and moving the form around). It works with popup ...