[opencms-dev] OAMP webform, access individual fields?

Yves Glodt yg at mind.lu
Thu Jun 4 13:26:55 CEST 2009


I would like to add the link in the Mail which is generated by the webform, in 
the "Mail text"-part

On Thursday 04 June 2009 13:06:15 Mathias Lin | SYSVISION wrote:
> Where do you want to create the link? On the confirmation page?
> You can do a replacement in
> /system/modules/com.alkacon.opencms.formgenerator/elements/confirmation.jsp
>
>
> List resultList = formHandler.getFormConfiguration().getAllFields();
>
> for (int i = 0, n = resultList.size(); i < n; i++) {
> 	I_CmsField current = (I_CmsField)resultList.get(i);
> [....]
> 	String value = current.toString();
> [....]
>
> Bugzilla from yg at mind.lu wrote:
> > Hello,
> >
> > is it possible to access individual form-fields using the %(formdata)-
> > placeholder?
> >
> > I would like to create a link to an url which as a variable part has one
> > of
> > the form fields.
> >
> > Best regards,
> > Yves
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> -----
> Mathias Lin
> SYSVISION Ltd., China
> http://www.sysvision.com



More information about the opencms-dev mailing list