Page Title from List Variable

Anthony Hibbitts May 27, 2020

I have create a page template with variables and would like to use a variable called "$engagementType" that has a drop down of three choices lets say "Test1,Test2,Test3" I am using the following script code to create the title.

<script>

$( "input[name='variableValues.engagementType']" ).change(function(){ console.log($(this).val()); $("form[name='filltemplateform']").find("input[name='title']").val($(this).val()) })

</script>

If I leave the variable static as a fill in it works fine but when I change it to a dropdown list and choose one of the three like "Test1" it fails to edit the page title on clicking the "next" button.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events