Download & Extend

Accessing Field Types

Project:Webform
Version:7.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I'd really like to be able to just access field types through Webform. I'm sure this has been thought through, but couldn't find it in the issue queue.

For instance the Phone module's got some great tools for validation & formatting that I'd like to use. Unfortunately, I can't seem to get it in the Type dropdown for my webform.

I figure someone must have already done this, but....

Comments

#1

Status:active» closed (duplicate)

Almost all field types are hard-coded to only work with entities (which Webform submissions are not). A few projects have been implemented in a way that they can be used in the normal FAPI, which is required to get them working with Webform, i.e. the managed_file element of core's File module.

Webform will never be able to "automatically" use any Field module field because such fields don't have any ability to provide analytics or export to CSVs. In any case, there's already an issue for making submissions into entities, but I don't plan on taking that route with Webform. #118984: Field API based rewrite of webform module.

#2

Thanks! Appreciate this.

#3

Just stumbled across this and thought I'd link it in to this thread http://drupal.org/project/webform_phone

nobody click here