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

Mathias Lin | SYSVISION mail at mathiaslin.com
Thu Jun 4 13:06:15 CEST 2009



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
-- 
View this message in context: http://www.nabble.com/OAMP-webform%2C-access-individual-fields--tp23867693p23867825.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list