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

Question

Question

Change form title based on field value

asked on July 8, 2019

Is there a way to change the form title based on a drop-down field value?

I want to change the form title based on the value selected in the "What is your request" field.

Thanks in advance

Jonathan

0 0

Answer

SELECTED ANSWER
replied on July 11, 2019
$(document).ready(function(){
  $('.drop select').change(updateTitle);
});
function updateTitle() {
  var newVal = $(this).val();
  $('div#cf-formtitle div#form-title-wrap h1').html(newVal);
  
}

 

0 0

Replies

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

Sign in to reply to this post.