I wanted to show a map view upon initial view of a map when input required is used. Currently there in only an option for text display. I also wanted to correct the behavior of the checkbox for "input required" which shows as unchecked when checked = TRUE. I have borrowed some code from the form views "No results behavior" option and integrated it into BEF. It seems to work and accomplishes the desired request. I do not know how to make module patches so I am including the entire changed file for your consideration.

Once this patched file is installed you can select a view you would like used for a input required "view" response. In my case, I made a static map views to take place of the active map that is displayed upon a user's input. This is the same static map I use for my view's "No results behavior". This creates nice visual behaviors.

I have attached the php file as a text file.

I hope this adds to your excellent module.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JimJS created an issue. See original summary.

JimJS’s picture

I have tried to make a patch against the 7.x-3.x version as per the instructions ( first patch - did my best ).

Since, I had been working on 7.x-3.2 when I came up my solution, I had to try to integrate my changes with the 7.x-3.x dev version. I did not do it perfectly because there were changes affecting the general form options. The patch works but you will probably want it better integrated.

Got the comment number wrong in the patch. should be 2 not 1.

KarlShea’s picture

Version: 7.x-3.2 » 7.x-3.x-dev
Status: Active » Needs review
FileSize
4.77 KB

I rewrote this a bit, it's also against 7.x-3.x-dev.

KarlShea’s picture

Reroll

Neslee Canil Pinto’s picture

Status: Needs review » Closed (won't fix)

Hi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Closing this as Closed(wont fix).