You are viewing limited content. For full access, please sign in.

Question

Question

Drop down selection changing a field label.

asked on May 16, 2016

When my form comes to being signed once completed, it can be signed by potentially 4 people.

 

Could I create a drop down with 4 Job Titles/Names who are allowed to sign this form and let that selection change my field label ? (See attached highlighted section I would like to change)

 

Is there any clever coding or tricks I can use to create the above?

 

Thanks.

Signature Field Label.JPG
0 0

Replies

replied on May 16, 2016

I would just use 4 different person specific signature fields and field rules to determine which one showed. I would like to see if there is a smarter way to do this as well. 

0 0
replied on May 16, 2016

Darrell,

 

Yes I gave your idea a go when I was playing around and it did seem to work but I think there can be a smarter way to do it.

 

:)

0 0
replied on May 16, 2016

You could do that with some javascript:

var whoSigns = $('.dropdown option:selected').val();  //use .text() if a value wasn't set

$('.signatureField label.cf-label').text(whoSigns);  

 

That should work.      
 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.