diff --git a/src/a3 b/src/a3 index 3a881c7..dab44b7 100755 Binary files a/src/a3 and b/src/a3 differ diff --git a/src/a3.nim b/src/a3.nim index 0fd17b7..7fc85b1 100644 --- a/src/a3.nim +++ b/src/a3.nim @@ -268,7 +268,7 @@ import val.name = b val.message = "" val.mark = "" - if form[a] == "1": + if form[a] == "1": # This checks if the country is selected or not val.mark = "is-invalid" validity[a] = val @@ -295,7 +295,7 @@ import ctx.send(sendCheckOut(validity, totalPriceHTML(products, cart))) -"/lname" -> post: +"/validation/lname" -> post: var lname = ctx.urlForm["c_lname"] var val: Validity if lname == "": diff --git a/src/a3a/checkout.nimja b/src/a3a/checkout.nimja index 6b53ece..f8a273c 100644 --- a/src/a3a/checkout.nimja +++ b/src/a3a/checkout.nimja @@ -123,7 +123,7 @@ > diff --git a/src/a3pkg/htmx.nim b/src/a3pkg/htmx.nim index 0c47dc3..d5131e7 100644 --- a/src/a3pkg/htmx.nim +++ b/src/a3pkg/htmx.nim @@ -20,7 +20,7 @@ proc sendLastName*(lastName: string, input: Validity): string = @@ -187,7 +187,7 @@ proc sendCheckOut*(val: Table[string, Validity], total: string): string =