diff --git a/src/assets/js/wishlists.js b/src/assets/js/wishlists.js index d8ca799c..fe3dee7a 100644 --- a/src/assets/js/wishlists.js +++ b/src/assets/js/wishlists.js @@ -511,6 +511,17 @@ $(function () { var validateURL = true; function validateWishURL(formAddOrEdit, buttonAddOrSave, modalAddOrEdit) { + /** + * Validate Form + */ + formAddOrEdit + .form({ + fields: { + wish_price : ['number'], + } + }) + .form('validate form'); + /** * Validate URL */ diff --git a/src/pages/parts/wish-add.php b/src/pages/parts/wish-add.php index 3d420658..f58917f7 100644 --- a/src/pages/parts/wish-add.php +++ b/src/pages/parts/wish-add.php @@ -67,6 +67,17 @@ $scriptPart = '/src/assets/js/parts/wish-add.js'; +
+ + + +
+
diff --git a/src/pages/wishlists.php b/src/pages/wishlists.php index 26cb776d..3941034b 100644 --- a/src/pages/wishlists.php +++ b/src/pages/wishlists.php @@ -175,6 +175,8 @@ $page->navigation();
+ +
@@ -202,6 +204,8 @@ $page->navigation();
+ +