I have a client who wants a webform to pop up when a user views a search result page. They want to user to submit their contact info in order to view the results, but only once in case they search multiple times.

1 Answer 1


Your best bet is to use this the splasify module: https://drupal.org/project/splashify

As for popping it up only once, you'll have to set a cookie somehow to track that it has popped up already. It might be suppored in that module already.

  • Instead of setting a cookie, you could also add a role when the form is submitted and only show the popup to users without the role. This will only work if each user has a unique login.
    – beth
    Jun 10, 2013 at 19:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.