Is it possible to change the result of the view depending on the value being selected on the form, node creation form without saving it first?
Last time, my problem was filtering the views depending on the field value of current node and I found the answer using
Filter View by Entity Reference Value From Current Node -
$node=menu_get_object(); return $node->field_venue_for_catering['und'][0]['target_id'];
But when I tried this on an entity reference view, it doesn't show any result unless I save the form.
The case from the link given above is almost the same for this post, the difference is filtering the view dynamically without saving the form first.
Is there anyone that will be able to help?
Thank you very much!!!