This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
how can I make the checkbox being checked IF there particular imagefield or textfield filled out ?
I need the code please
Views
Replies
Total Likes
when you fill out (imagefield1 ) with any photo , then (chekbox1) return to ((cheked))
and when you fill out (textfield1) with any text, then (checkbox 1 ) return to (checked)) and such ....
the checkboxes are on the top of the form (( like a result )))
the event on (exit*)
I need the whole code for on one (Q) then I gona copy busy rename the rest fields ..
Views
Replies
Total Likes
You can try below for textfield and same can be implemented for image
<input type="checkbox" id="box" name="box" value="">
<input type="text" id="comment" name="comment" value="" />
$(document).ready(function() {
$("#comment").on("keyup blur", function() {
$("#box").prop("checked", this.value !== "");
});
});
Views
Replies
Total Likes
<input type="checkbox" id="box" name="box" value="" checked>
<input type="text" id="comment" name="comment" value="" />
where mus I put the name of (chekbox ) and TextField ??
Views
Replies
Total Likes
Views
Replies
Total Likes
This is AEM Forms designer. You need to use JS Script for AEM Forms designer.
https://helpx.adobe.com/pdf/aem-forms/6-2/scripting-basics.pdf
Views
Likes
Replies
Views
Like
Replies