I've got a block to take in one field, how would I hide the block after it has been submitted once?

I could search the database for the submission and return true or false in the block visibility control but i don't know where to search, any ideas? This would be a cool feature to add to the module I think.

Comments

ddease2’s picture

I agree this is needed. It makes for a much cleaner user experience and could open up this module for many other uses. Anyone have any ideas?

psynaptic’s picture

Status: Active » Fixed

If you only want the user to submit the form once then you can limit the submissions in webform module. This will have the effect of hiding the block on submission.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.