diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 6f2d061a..bd9c4c05 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -34,8 +34,8 @@ function add_answers_input_form() { var form_idx = $('#id_answers-TOTAL_FORMS').val(); let empty_form = $('#answer_empty_form'); - $(empty_form).find("li:eq(1)").find("select").val(2); $('#answer_form_set').append(empty_form.html().replace(/__prefix__/g, form_idx)); + $(empty_form).find("li:eq(1)").find("select").val(2); $('#id_answers-TOTAL_FORMS').val(parseInt(form_idx) + 1); }