A
A
andreystrelkov2014-07-21 11:24:43
Drupal
andreystrelkov, 2014-07-21 11:24:43

How to make a view that would accept a context filter as a value entered in the field when creating the material?

I will try to explain,
please tell me, imagine that there is a BASE material type
, it has a TITLE and BODY field, about 1000 materials
have been created, there is another type of BASE 2 field
in which there are similar fields, but there is also a RELATION field, a
regular text field, but you need to make sure that when, when creating a BASE 2 material, the user enters text in the RELATION field, it immediately becomes a context filter on the view
that is displayed on the same page for creating the material,
either automatically (like in the AUTOSUBMIT view), or by pressing some button that would be command to send filter

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2014-07-21
@andead

you need ajax
like this - drupal.stackexchange.com/questions/85348/adding-a...
more details here - https://api.drupal.org/api/drupal/includes%21ajax....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question