Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
0answers
17 views

Street number doesn't change in CiviCRM after filling out Drupal Form

Street number doesn't change in CiviCRM after filling out Drupal Form. Street name does change but street number does not, when someone changes his/her address in the Drupal form, connected to ...
1
vote
2answers
23 views

How to obtain user input from an API call

This may be a stupid question - sorry if so. I am writing an API function to create a new case, and I want it to pre-fill the New Case form with field contents based the case source contact and two or ...
1
vote
1answer
16 views

How to add a radio button with the help of buildQuickForm()

Showing data in the form of radio buttons. Data $data[$count++] = array(dao->id,dao->names); Above code return an array of id and names which is retrieved from database. I want to put this ...
1
vote
0answers
18 views

Problem with FormProcessor extension

I've been facing an issue as soon as I have installed FormProcessor. Not only I can't access Form Processors but the extension's installation affected also other parts of CiviCRM. When I try to ...
2
votes
1answer
29 views

CiviEvent: prevent registered users from changing their data

I'm running a CivicCRM installation od Drupal 7. I'm launching our first Event page with online registration - everything seems clear, except one thing: I'd like to prevent registered users from ...
1
vote
1answer
30 views

CiviCRM password length in Joomla

I'm working on a version of CiviCRM installed in Joomla, I'm using a registration form with custom fields of Civi for the registration. The problem is that CiviCRM does not apply the same checks on ...
2
votes
0answers
31 views

GDPR Extension on CiviCRM-WordPress: acceptance checkbox not showing up on registration forms

I have installed GDPR Extension on a CiviCRM running on WordPress in order to include the acceptance checkbox in a event register form. I have followed all recommended steps to configure it (GPDR ...
1
vote
1answer
20 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 ...
2
votes
1answer
29 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. ...
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 ...
-1
votes
1answer
19 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
19 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 ...
-1
votes
1answer
21 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
62 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
160 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
46 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
30 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
26 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
22 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
98 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
29 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
16 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
53 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
24 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
47 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
23 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
1answer
41 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 ...
2
votes
1answer
26 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
18 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
34 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
112 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
58 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 ...
2
votes
1answer
48 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
70 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
86 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
87 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
52 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
1k 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
59 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
65 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
50 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
60 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
45 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 ...
1
vote
0answers
49 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
58 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
34 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
64 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 ...