Forums

Edit a field from article / Use one form in diff. contexts

bigbang 21 Jun, 2011
Hallo everyone,

I have a question: I am working on a form with which people can register for several events.

I have now built one form with several input fields like name, address, town, email address, phone number, and a hidden field "event" to write the relevant event name.

My idea was to write an article for each event with description and corresponding date (events could take place on a regular base) and to insert the form which I have just described. Is it possible to edit from the article the hidden field in the form, perhaps with javascript? Is this idea reasonable? Or should I create a form for each event? A template-driven advancement would be nice, for this way.

Please help me and don't hesitate to ask, if my question is not clear.

Best regards,
Mathias
bigbang 25 Jun, 2011
Nobody there who can help me?

I can't believe that my requirement is completely new: How to use one form in different contexts where only one field value changes?
GreyHead 25 Jun, 2011
Hi Mathias,

No it's not new - you'll find several threads here on adding article ids or article titles into a form like this.

Bob
This topic is locked and no more replies can be posted.