Tag Archives: sfWidgetFormChoice

how to change select options based on a choice made from another select using ajax in symfony 1.2 or higher

This article has moved to this location.


Say, we have two choice widgets, choice_1 and choice_2. When user change the value of choice_1, the options in choice_2 will change based on the selected value of choice_1. How we do that if using ajax?
In this post, i’ll try to explain the above method using ajax and sfJqueryReloadedPlugin. Read More

Advertisements

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