diff --git a/edivorce/apps/core/static/js/main.js b/edivorce/apps/core/static/js/main.js index fa8cbce0..f9ed0cc7 100755 --- a/edivorce/apps/core/static/js/main.js +++ b/edivorce/apps/core/static/js/main.js @@ -52,6 +52,14 @@ $(function () { $("input[type=radio], input[type=checkbox], input[type=text], .response-textarea, .response-dropdown").on("change", ajaxOnChange); + // If relationship is common law and they want spousal support, update spouse_support_act with hidden input field, spouse_support_act_common_law + if ($("#spouse_support_act_common_law").length) { + var el = $("#spouse_support_act_common_law"); + var question = el.prop('name'); + var value = getValue(el, question); + ajaxCall(question, value); + } + // Add name button adds new input field for adding other name $("#btn_add_other_names").on('click', function () { $('#other_names_fields').append($('#other_names_group').children().clone(true)); diff --git a/edivorce/apps/core/templates/question/06_support.html b/edivorce/apps/core/templates/question/06_support.html index 8f6d7a6b..74bd9919 100644 --- a/edivorce/apps/core/templates/question/06_support.html +++ b/edivorce/apps/core/templates/question/06_support.html @@ -104,39 +104,59 @@
-

Please indicate which act you are asking for support under.

-
- view the Divorce Act
-
- view the Family Law Act
+ {% if married_marriage_like == "Legally married" %} +

Please indicate which act you are asking for support under.

+
- view the Divorce Act
+
- view the Family Law Act
- - - -
-
-

Ok, you may be thinking, how the heck am I supposed to know which act (a written law) applies. Let's see if we can help you identify which act best fits with your circumstances/situation.

-

If you are not married (common law) > Family Law Act
- If you were never married, you must use the Family Law Act. Provincial and territorial laws apply when unmarried couples separate or when married couples separate but do not pursue a divorce -

-

If you are Married > Family Law Act or Divorce Act
- If you're married, you have a choice.The federal Divorce Act generally applies when parents are divorcing. Provincial and territorial laws apply when married couples separate but do not pursue a divorce -

+ -
+ + +
+
+

Ok, you may be thinking, how the heck am I supposed to know which act (a written law) applies. Let's see if we can help you identify which act best fits with your circumstances/situation.

+

If you are not married (common law) > Family Law Act
+ If you were never married, you must use the Family Law Act. Provincial and territorial laws apply when unmarried couples separate or when married couples separate but do not pursue a divorce +

+

If you are Married > Family Law Act or Divorce Act
+ If you're married, you have a choice.The federal Divorce Act generally applies when parents are divorcing. Provincial and territorial laws apply when married couples separate but do not pursue a divorce +

+

+ For more information on + which laws apply to your situation please refer to the Family Law of B.C. website. +

+
+
+ {% else %} +
+
+ {% input_field type="hidden" id="spouse_support_act_common_law" name="spouse_support_act" value="The Family Law Act" %} +

+ As you and your spouse were never legally married, you must use the + Family Law Act + for your separation. Provincial and territorial laws apply when unmarried couples separate or when married couples separate but do not pursue a divorce. +

+

+ For more information on which laws apply + to your situation please refer to the Family Law of B.C. website. +

+
+
+

Time limit to apply for court order

+

If you were unmarried, and you qualify for spousal support, you must apply within two years of the date you separated.

+
+
+ {% endif %}