How to make textfield mandatory based on value of pathfield in aem

112
March 19, 2022, at 04:30 AM

My question is in aem dialog if we have two fields one is pathfield and another one is textfiled, Now I want to make textfield mandatory if some value is entered in pathfield and also if no value is entered in pathfield then I dont want to make textfield mandatory.

Please help if someone knows the answer

Rent Charter Buses Company
READ ALSO
How can I use json response from php in jquery?

How can I use json response from php in jquery?

I'm trying to do a websiteI need to get all the reviews in the database

110
How can i do onclick event with html,css,js

How can i do onclick event with html,css,js

I want the css codes of the blog1popup class to change when the image is clickedI know how to do this with hover, but i don't know how to make this action happen by clicking

110
Best practices writing JavaScript that uses AJAX call to decide if default action should be prevented

Best practices writing JavaScript that uses AJAX call to decide if default action should be prevented

I'm using JavaScript and jQuery to write a handler for my form being submittedBased on certain conditions, the handler may allow or prevent the form from submitting

89
Woocommerce cart page custom js not working after applying coupon. I send cart data to external domain on proceed to checkout

Woocommerce cart page custom js not working after applying coupon. I send cart data to external domain on proceed to checkout

I am sending the cart data of woocommerce to an externally hosted checkout page with the click of the 'proceed to checkout buttonI just create inputs by looping the table and changing the cart form action URL to my external checkout page URL

143