How about $('#{{ form.alias.vars.id }}') instead of hardcoding the child form's id?