059
This commit is contained in:
parent
f3315ce859
commit
5860a0b517
@ -268,6 +268,8 @@ import
|
||||
val.name = b
|
||||
val.message = ""
|
||||
val.mark = ""
|
||||
if form[a] == "1":
|
||||
val.mark = "is-invalid"
|
||||
validity[a] = val
|
||||
|
||||
if productName == "":
|
||||
|
@ -152,7 +152,7 @@ proc sendCheckOut*(val: Table[string, Validity], total: string): string =
|
||||
<div class="p-3 p-lg-5 border">
|
||||
<div class="form-group">
|
||||
<label for="c_country" class="text-black">Country <span class="text-danger">*</span></label>
|
||||
<select id="c_country" class="form-control" name="c_country">
|
||||
<select id="c_country" class="form-control {val["c_country"].mark}" name="c_country">
|
||||
<option value="1">Select a country</option>
|
||||
<option value="2">bangladesh</option>
|
||||
<option value="3">Algeria</option>
|
||||
|
Loading…
Reference in New Issue
Block a user