Hi, I don't see how can I set a default value such as %GET[key] and others.
I'd like to prefill the form with values from the url.
Thanks in advance for any help!
Patrizio

Comments

pcambra’s picture

Status: Active » Postponed (maintainer needs more info)

Hi

Sorry fot the delay, can you explain further what is exactly what you want? Do you want that the email get filled from some value of the url?, I think you could do that with a form alter and getting the value from the url...

Thanks

xpersonas’s picture

I think I was wanting the same thing. Just the ability to set the default value to something like -- %get[email]

It's helpful if the form is started on a previous page. I'm not overly comfortable when you say form alter. That means there's a way to do it that I don't fully understand. It would be cool if you could set the default value like most other webform components.

Even without that though, this is a great addition to webform/simplenews. Very helpful!

pcambra’s picture

Thanks for the feedback phaedo5, could you tell me one component that behaves the way you describe to take a look of what is the request exactly?

xpersonas’s picture

Sure. I'm just talking about a default value setting that something like a select component might have...

http://img.skitch.com/20101026-q3459ej93sypc8ep691bfyxeit.jpg

I was able to just change the setting in the database to get the same result. So this would just be for convenience. Love the module/component regardless.

pcambra’s picture

Thanks, is there out another component implementing this in webform 3.x?