Tag Archives: sfWidgetFormInputText

Combining input and choice widget in symfony

This article has moved to this location.

A few month ago, i was redevelop an application, using an existing database. One of the problems I encountered, there is a field whose content is a mixture of integer and string. For example: “1 Day”, “3 Month”, “5 Year”. where the string input should one of the three above (Day or Month or Year).

Read More