The Conditional Fields module defines dependencies between fields based on their states and values.
1
vote
1answer
19 views
Working with a checkbox and EntityFieldQuery
So I have a custom field which is a checkbox and is called 'field_hide_panel'.
The on value is '1' and the off value is '0'. But bare in mind, this field was added later so there are a lot of rows in ...
0
votes
0answers
13 views
Integrity constraint violation when trying to set webform conditional
I get the following error message when I try to set a webform conditional.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '20660-0' for key 'PRIMARY': INSERT INTO ...
0
votes
1answer
24 views
Conditionally apply CSS class to a conditionally-rewritten View field?
[This will require some background explanation.] We have a View (D7) displaying a custom content type. Flag Lists provides the option to select items via checkboxes and add them to a personal list. ...
0
votes
0answers
23 views
Js scripts don't work in user/register page
In the user/register page all the js scripts are loaded but not executed.
At first, I supposed it was an anonymous users issue, but the same scripts work fine everywhere else, also with anonymous.
...
0
votes
0answers
19 views
URL Parameter conditional issue
I have a entity reference field select list that is auto populated via a URL parameter. Unfortunately setting it this way does not trigger the condition i have on that field to populate another field. ...
0
votes
0answers
13 views
A field where you can add the name and content
I'm looking to make a field where the user can not only label the field name, but also give it a value.
For instance - the field would prompt the user to give it a name (ie. Test) and the value ...
3
votes
1answer
41 views
How to get a conditional dependency to work in Drupal 7?
I have 2 fields in my content type 'test':
'Photos Gallery' -field type is image
'Enable' checkbox to Enable gallery (field type boolean)
Required output: When 'Enable'-field is checked, the node ...
5
votes
2answers
71 views
How do I compare two row fields in a view and don't display them if some conditions are verified?
I have a view table with 12 Fields & 10 Rows and I wish to compare two known fields with defined field names and check if both fields are:
If data partially matches (Field 1 with Field 2 or vice ...
1
vote
0answers
39 views
Conditional Fields with multiple conditions
I am using Conditional Fields module. I need some guidance when setting dependencies for multiple fields (accepting unlimited values). Here is the situation:
In my entity form I have two fields:
...
0
votes
0answers
50 views
How to show empty fields labels only if conditional state is "visible'
I use the Conditional Fields module to show some fields only if other fields matches conditions.
I use the Empty Fields Module to show a custom text when a field is empty (for example : "unknown")
...
0
votes
0answers
11 views
Defendant field required
I have a node form with multiple fields, Title, Body etc. One field is a selector called "Submit Form."
The functionality I'm looking for is:
User creates and edits the form to their hearts ...
0
votes
0answers
24 views
How to make steps optional in multistep form
I want to skip some steps in multistep page break forms.
Let's say a user filled the first step then at the end there will be message.
Do you like to go to part 2 of the form or submit the form now?
...
0
votes
0answers
31 views
How i can show a specific term of check box in drupal using conditional
I have a bank form to do it is:
the user at the beginning, he had a "status" form "radio button"
Status ---> Young, Employee, Business Man
each status: young had such offers and questions
if the ...
0
votes
1answer
17 views
How do I make a block appear in a panels display based on the state of a field
I have a field that is a single on/off checkbox. Whenever it has been selected it outputs a key of 1 into the panel display, if it hasn't it outputs a 0. I want it to output custom html for a link to ...
2
votes
3answers
51 views
Conditionally require user to complete a content type based on answers from other content types?
I'm working on a drupal project that collects information about a business and then offers advice based on the information submitted.
Following the initial sign up process, a user can add a new ...
1
vote
1answer
42 views
Webform 4 - More than one conditional hides or shows component - Confusing Is & Isn't Shown?
I'm getting the following error: More than one conditional hides or shows component -- Once a user selects one option, it should hide other fields not pertaining to the selection. attached screenshot.
...
0
votes
1answer
25 views
Need a textfield required only when selectlist is set to 'Approved' within custom content type
This seems like it should be simple, but has been challenging me for a few days now. I have a custom content type which contains a selectlist which defaults to 'Pending' for new nodes. Someone will ...
0
votes
2answers
46 views
hide field based on its value or value of another hidden field
I need to hide a radio button field of a content type (not a form) only on the edit view based either on its own value or based on the value of another field that is already hidden.
Dependencies does ...
1
vote
0answers
11 views
Webforms - Integrating conditional fields into select options
I'm looking for a way to have fields show up if a user selects a particular option, inline with, or directly below the option.
For example:
I would like to teach (if selected show a list of grades ...
0
votes
1answer
21 views
How to hide options in the second select before choosing option in first select
i have taxonomy : Cities and taxonomy Towns.
cities have : Sousse and Tunis
Town have Elzahra (related to Tunis (taxonomy cities) and Sahlool (realted to Sousse (taxonomy cities)).
i have ...
0
votes
0answers
33 views
field collection value not worked with entity form when using conditional field
I have created one entity form with conditional field and field collection in it but when I see the saved entity after submission, my values are not coming.
1) In first step user see the selection ...
0
votes
0answers
29 views
How customize template for field_collection in node add form drupal 7
I have one content type. I use the module field collection to create a field collection to establish the value is unlimited. In field collection have multi field and have the combined conditions ...
1
vote
0answers
20 views
Field formatter conditions problem
I'm using the Field Formatter Condition module. I have two fields: Countdown Timer Field and text field. I've created condition for text field: Hide when target field is not empty and target field is ...
0
votes
0answers
54 views
Conditional Fields Based on an element in a fieldset using states
I have a select form element:
$form['myid_template'] = array(
'#type' => 'fieldset',
'#title' => t('Select Template'),
);
$form['myid_template']['template_options'] = array(
...
1
vote
0answers
22 views
Block Reference field not being filled with Value using the Conditional Fields
Hi I'm trying to add a specific block, based on taxonomy term that the user will pick from a field.
In more specific words, I have created a field linked to a Vocubulary and it displays like this to ...
1
vote
0answers
42 views
Using tokens in an entity form conditional field
Is there a module that will allow me to use token values (ie logged in user/email) as a field condition with entity forms?
0
votes
1answer
27 views
Is there a setting (or a module) to include the webform conditional displayed markup in the webform submissions?
I can write a hook for this in a custom module certainly, making use of the Webform API. But I thought I'd ask first to see if there is an out-of-the-box way to ensure that a webform markup component ...
2
votes
2answers
157 views
Conditional fields not working with hierarchical select module
Case: I am using the Hierarchical Select module for allowing users to choose taxonomy terms from a particular vocabulary. Based on the chosen terms (deepest level), I want to display a field using the ...
0
votes
1answer
100 views
Hide conditionally hidden fields from custom node template
Case: I am using conditional fields module to hide some dependent fields based on the value of its dependee field. I have created a custom node--content-type.tpl.php template for my content type.
...
0
votes
1answer
30 views
Display a field only when dependee image field has more than three images
I have a content type "Product", and on its view node, I want to display a field(which is a select list), only when my other field, which is dependee for this field and is an image field, contains ...
1
vote
1answer
55 views
How to set the values of some fields depending on the value of a list box?
Remember the create password page of Drupal! while you are entering characters it tells you how string is your password!
now I want to have something like this in a list box but a bit different. I ...
0
votes
0answers
39 views
Conditional fields for commerce products: Hide Product Display main photo if Commerce Product Main Photo there is?
I can't construct my Condition in Node display Manager.
My nodes of type "Product Display" have references to some products. The products may have and may not have own photos (if only one photo there ...
0
votes
1answer
252 views
Adding conditional statements as Math expression to custom text fields in views
I have created views in which i have added custom text and Math expression.
I displayed view in table format
I created one Math expression which is noticed below:
[Field 1] - [Field 2]
I have ...
1
vote
1answer
46 views
Add Additional (Term Reference) Field to repeating Date & Time Field for Locations
So I have a question that I am not quite sure how to handle in Drupal. (I come from a Wordpress background).
So I have an Event Content Type.
In this event CT I have a repeating Date/time field and ...
1
vote
0answers
198 views
Issues when combining Reference Field Option Limit & Conditional Fields
I'm hoping there's a rocket scientist out there that can help me with this!!
I am using the following entities:
Machine Type (Taxonomy)
Ink Type (Taxonomy)
Ink Configurations (Taxonomy)
Machine ...
0
votes
1answer
36 views
how to show ubercart fields in manage fields section of content type
I'm needing to access the price, sku, etc fields in the manage fields section in structure/contenttypes. None of these fields show up in the manage fields section? I can manage their display under ...
0
votes
1answer
35 views
Remove tags from dependent term ref field when dependee is deactivated
I have a check box acting as the dependee. When it is checked, it opens up a free-tagging term-reference field. So when A is checked, B appears and users can add tags:
A (checkbox): []
B (tags): ...
0
votes
1answer
503 views
Call Remove Button (File Upload) Programmatically using JavaScript
How can I call the remove button of temporary uploaded file programmatically using JavaScript?
I want to clear the form fields when the condition changes. I've done all the form fields exept the ...
0
votes
1answer
384 views
Adding content type field value to a taxonomy term?
What I'm trying to say at the title is, I have this Select List field that gets its values from a taxonomy called "Thing".
The taxonomy term are (Thing-1,Thing-2,Other).
When "Other" is selected a ...
1
vote
0answers
274 views
Custom validation with conditional fields
I have a content_type campusactiviteit which has a lot of conditional fields.
When the user hits "catering" three fields appear: "kostenplaats", "bestelbonnummer" and "soort_catering".
When the user ...
0
votes
0answers
31 views
Conditional Fields Module works for 1 day then errors out
I installed Conditional Fields - version 7.x-3.0-alpha1 and everything was working fine. I left for the day and came back the next day to these errors showing on any of the conditional fields pages:
...
0
votes
0answers
180 views
Views: PHP conditional within loop (views-view-fields--)
Ok,
I've been working to have a simple php conditional set up in the tpl files for a view. But the automatic loop Drupal does to this file does has been driving me nuts.
My goal is to have a title ...
0
votes
1answer
381 views
Enable/Disable field values based on another field's value
I am using Drupal 7 with the Entityform and Conditional Fields modules to build a form and need to see if it is possible to disable a value in one field based on the selected value of another field. ...
1
vote
1answer
31 views
Make Conditional Field work with Price widget
I would like to know if there's a way to make the Conditional field module here work with the Price widget. For example, I want to allow the user to input a price when he checks something with a ...
1
vote
1answer
56 views
How to add more condition to my conditional field
im trying to add condition to my fields but it seems it can only accept 1 condition.
example : i have 1 select field for salutation(Mr., Ms., Mrs, Dr., etc) and 1 radio field for gender. if i select ...
0
votes
1answer
94 views
conditional fields in node creation
Well Im trying to use some conditional fields while creating some type of nodes. for example
I have a content type called "organization" this content type has
name, logo, and some other stuff
also ...
0
votes
1answer
61 views
One of two field is required in drupal 7 view?
I have one view in which i want to upload picture(image) or embed video(text). I want to add condition either picture or video field required. and also user can not fill both value user can fill only ...
1
vote
1answer
103 views
Why Conditional Fields Validating the Hidden Fields?
I have preset sizes like small, medium and large and an option to provide custom size. If some one selects custom option from a select list the measurements fields appears through conditional fields ...
1
vote
2answers
892 views
Conditional Fields is not working
I m using Conditional Fields for Drupal 7 to create country state relational dropdown in my Field Collection module, but it is not working properly.
I created Country US and Canada and, depending ...
0
votes
1answer
407 views
How to add a field for each taxonomy term or entity reference chosen in Content Type?
I have a content type ‘Product’. When the user add a product it is necessary to choose a Store (a taxonomy term or another content type). After stores are chosen, it is necessary to add the directly ...