Javascript - Laravel (blade)
up vote
0
down vote
favorite
Im starting a laravel mini project at the moment and I want to make a field which gets filled by two other fields in the form, Im not so good with the javascript so I copied one that worked on normal html+php page but it doesnt work on blade, Im extending a layout file called app.blade.php, the script I am using is already added in the screenshot of the layouts file.
So any help would be appreciated.
Thanks in advance.
FORM
Layout that I am extending
javascript php laravel laravel-blade
add a comment |
up vote
0
down vote
favorite
Im starting a laravel mini project at the moment and I want to make a field which gets filled by two other fields in the form, Im not so good with the javascript so I copied one that worked on normal html+php page but it doesnt work on blade, Im extending a layout file called app.blade.php, the script I am using is already added in the screenshot of the layouts file.
So any help would be appreciated.
Thanks in advance.
FORM
Layout that I am extending
javascript php laravel laravel-blade
Never rely on client-side validation -- that should be secondary. Start with Laravel's built-in validation libraries and perform validation in your controller.
– Sheng Slogar
Nov 9 at 19:10
However, since you're using jQuery, you can also check out this answer for later client-side validation. I've never used the validate plugin before but it looks fairly simple. Also check out the native HTML required attribute.
– Sheng Slogar
Nov 9 at 19:12
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Im starting a laravel mini project at the moment and I want to make a field which gets filled by two other fields in the form, Im not so good with the javascript so I copied one that worked on normal html+php page but it doesnt work on blade, Im extending a layout file called app.blade.php, the script I am using is already added in the screenshot of the layouts file.
So any help would be appreciated.
Thanks in advance.
FORM
Layout that I am extending
javascript php laravel laravel-blade
Im starting a laravel mini project at the moment and I want to make a field which gets filled by two other fields in the form, Im not so good with the javascript so I copied one that worked on normal html+php page but it doesnt work on blade, Im extending a layout file called app.blade.php, the script I am using is already added in the screenshot of the layouts file.
So any help would be appreciated.
Thanks in advance.
FORM
Layout that I am extending
javascript php laravel laravel-blade
javascript php laravel laravel-blade
asked Nov 9 at 18:44
Youssef El Degwey
11
11
Never rely on client-side validation -- that should be secondary. Start with Laravel's built-in validation libraries and perform validation in your controller.
– Sheng Slogar
Nov 9 at 19:10
However, since you're using jQuery, you can also check out this answer for later client-side validation. I've never used the validate plugin before but it looks fairly simple. Also check out the native HTML required attribute.
– Sheng Slogar
Nov 9 at 19:12
add a comment |
Never rely on client-side validation -- that should be secondary. Start with Laravel's built-in validation libraries and perform validation in your controller.
– Sheng Slogar
Nov 9 at 19:10
However, since you're using jQuery, you can also check out this answer for later client-side validation. I've never used the validate plugin before but it looks fairly simple. Also check out the native HTML required attribute.
– Sheng Slogar
Nov 9 at 19:12
Never rely on client-side validation -- that should be secondary. Start with Laravel's built-in validation libraries and perform validation in your controller.
– Sheng Slogar
Nov 9 at 19:10
Never rely on client-side validation -- that should be secondary. Start with Laravel's built-in validation libraries and perform validation in your controller.
– Sheng Slogar
Nov 9 at 19:10
However, since you're using jQuery, you can also check out this answer for later client-side validation. I've never used the validate plugin before but it looks fairly simple. Also check out the native HTML required attribute.
– Sheng Slogar
Nov 9 at 19:12
However, since you're using jQuery, you can also check out this answer for later client-side validation. I've never used the validate plugin before but it looks fairly simple. Also check out the native HTML required attribute.
– Sheng Slogar
Nov 9 at 19:12
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53231648%2fjavascript-laravel-blade%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Never rely on client-side validation -- that should be secondary. Start with Laravel's built-in validation libraries and perform validation in your controller.
– Sheng Slogar
Nov 9 at 19:10
However, since you're using jQuery, you can also check out this answer for later client-side validation. I've never used the validate plugin before but it looks fairly simple. Also check out the native HTML required attribute.
– Sheng Slogar
Nov 9 at 19:12