Tag Archives: embedded forms

Embedding forms using sfPropel15Plugin

This article has moved to this location.


In my previous articles (Ajaxify symfony embedded form and Dynamic input using javascript and symfony embedded forms), I have shown you how to embed main form and it relations in symfony using propel 1.4 (sfPropelPlugin). In this article, I will explain to you how to do it by using propel 1.5 (sfPropel15Plugin). As a warm up :D, you can watch an interesting screencast here. Easy isn’t it? yes.. One line can do a lot of Things …
Read More

‘Pick or create’ embedded form the propel way

In my recent application, i want a user able to select the input from the existing options, or create new if the option is not available. After googling on the internet, I found an interesting article how to overcome these problem.
Inspired by Propel 1.5 features ( embedRelation and mergeRelation), I rewrite the method in that article, so we just simply write ’embedPickOrCreateForm ()’ to implement the problem.
Read More

Ajaxify symfony embedded form

This article has moved to this location.


In my previous post, i’ve explained how to embedding form dynamically using javascript without ajax. In this post i’ll try to reimplement my previous post using ajax and jQuery based on this post Dynamic embedded forms in symfony.
Here is the screenshot before and after we added answer 4

Read More

Dynamic input using javascript and symfony embedded forms

This article has moved to this location.


One of great features from symfony 1.2 system form is auto-save objects from embedded forms, which means that when you save a Propel form, symfony will automatically save the main object and all the objects related to the embedded forms.
In this tutorial, i’ll discuss about adding embedded forms dynamically using javascript (without ajax) in symfony 1.2 or greater. Read More