The default property for the cache of the block is set to BLOCK_CACHE_GLOBAL. That causes problems with webform when using default values like %username. The last value is cached and given incorrectly to the next user.

I think it is best to set that to BLOCK_NO_CACHE or give the option to the user so he can choose the best one.

Thanks.

Comments

budda’s picture

Is there any reason why you're not using the built in webform 3.x support for blocks thesedays?

jonhy81’s picture

Yes, my site is old and has too many webforms. I have not had time yet to update but it is a step in briefly.