All Questions
75 questions
2
votes
0
answers
196
views
How to customize survey builder form by programatically in drupal
I have installed survey builder module. Using this we created survey pages, but form elements are not aligned properly. I want to give some style to survey form elements.
How can i make it is ...
0
votes
2
answers
150
views
How to input search terms via a separate form on a content page to a Views Exposed Filter on a different page?
When visiting a content page (node), I want users to be able to input search terms into a form from there which will be fed into a View via its Views Exposed Filter.
The View I have is contained ...
0
votes
2
answers
883
views
Add Form frields to View
I'd like to generate a view of Employee names, but I'd like to embed it inside a form as well as add checkboxes next to each Employee name. I tried to use Rewrite the output of this field but my <...
0
votes
2
answers
717
views
multi page content drupal 7
So i want to create a website which presents information about topics over multiple pages, i.e. say the content was films, one page would be an overview of the film and there would be a button at the ...
2
votes
1
answer
258
views
How can I implement a form into a DC view footer?
I am trying to make a shipping quote module for Drupal Commerce (DC) and I am trying to do it within the DC cart view footer by sending a form within a view.
I have done quite a bit of research and ...
2
votes
1
answer
27
views
View Content inside of User edit form
I created a view content about active classes and now I want to show them inside of user edit form to that they can see their clasess active with a contextual fiter url at view content, how can I make ...
1
vote
0
answers
153
views
Change select list argument and rebuild on form state change
So, I'm trying to filter a select list by one of the other fields on a node. In this case, we will select a taxonomy term (you can only choose one) and then based on that rerender the select list of ...
0
votes
0
answers
49
views
Using ajax in form api to insert a view on select list change requires 2 change events to start inserting/replacing content
I'm embedding a fullcalendar view into a node edit form. When the user first lands on the form, he/she does not see a calendar and is prompted to select a room first.
Issue: On the first room ...
1
vote
2
answers
354
views
How to display a newly created node (created using a form) in the view using ajax (without page reload)?
I have created a "Share update" form using form API. Below the form, I am displaying a view "feeds" of all the published nodes of content type "updates". On submit, the form saves the data entered in ...
1
vote
1
answer
89
views
Search keyword with selectable exposed filters
I'm trying to make a search view with one textfields and two checkbox filters (body, tags). The search text would only search the selected fields and would show results as summaries.
I've tried ...
1
vote
1
answer
194
views
Contact form - leaving the form and resuming it later
Is it possible to have a contact form in drupal, which you can save, and resume later?
1
vote
1
answer
431
views
How to format 'node reference' field values from the Views module
How can I format the output of a 'node reference' field that is generated using a View?
Currently it's formatted as (See 2nd graphic): "FirstName - Lastname Pagetitle"
I'm trying to change that to:...
1
vote
1
answer
120
views
how to make a search form
I would like to make a search form for my site so that users can use a series of drop down menus and click to search and it will create a view with listings that fit the criteria of the search.
Its ...
0
votes
1
answer
199
views
file field on form in view is ajax-enabled ONLY if rendered as part of page, not retrieved through ajax
We are using the popup module to render views within a page.
One of the views has a file field for uploading. The popup module can render the popup as part of the page and then display the popup or ...
0
votes
1
answer
42
views
Use views as radios (or check-box) options in drupal forms
Here is the scenario:
There is a multistep form for creating a content type "Support request".
Step 1: In this step, the user enters his/her device model and click next.
Step 2: In the next step, a ...
1
vote
1
answer
126
views
Interactive filter options for views
I have setup a view with contextual filters; it works great.
Now I just need to setup a few drop downs to allow users to filter on criteria. Does the Views module support this in Drupal 7?
Should I ...
0
votes
1
answer
145
views
How To Create a Remote Views Search Form - D7
I have overridden the default Drupal /search page with a panel view that is listing users. In this view, users can be filtered by gender, age, location, etc - and it's working quite well! I have ...
2
votes
0
answers
232
views
form_set_error() doesn't work in exposed_validate()
I have made a custom module which implements a new field for Field API and a filter for Views. Everything works like a charm except value validation for exposed filters. I will describe a problem step ...
0
votes
1
answer
380
views
Need block context in hook_form_alter
I'm trying to get my module to work: it replicates an exposed filter of a view into a block to display on other pages. Altering the form generally works, but it unfortunately works globally, ie. my ...
1
vote
2
answers
48
views
Choosing between template files and custom module
I wanted to add some custom functionality in my Drupal website, so I read some tutorials (first, second ) and decided to create custom template files for specific forms & exposed filters I ...
1
vote
2
answers
68
views
Showing different page layouts based on form data
I'm trying to build a multi step form. Before the second step I have to process the data inserted in step one and render different layout and form fields based on the results.
I use "drupal_get_form" ...
1
vote
2
answers
399
views
Can I expose the signup form through views 2?
I am using Signup and Views in Drupal 6 (I can't install Drupal 7), and I created a view that lists all the nodes for which users can signup.
Now I want to enable users to signup for one of these ...
0
votes
1
answer
57
views
Drupal 7 - Module with form and view
I'm trying to develop a module that creates a form and a view that displays that page.
In my module I used hook_menu() and hook_form().
Also I saw some tutorials 1 & 2
What I cannot understand ...
2
votes
0
answers
77
views
Embedded view results being lost when form_set_error is being called
I have a page (user profile.tpl.php) with a custom form and a view embedded in the tpl.php file.
The custom form is defined in a custom module, with validation and submit hooks, and the view is being ...
0
votes
1
answer
76
views
Normal View with multi language website
I have a normal view on multi language site and add a field Called website the field is displayed on en language but does not show in the another language
How i can fix this problem