Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Form Options JS Not Firing - OnDisplaySectionChange Function


I have a simple choice field called Type of Funding Request. I'm writing some JS to show/hide another field ("Category") based on the value in Type of funding request. I wrote the code below just to test the onDisplaySectionChnage JS function, but I'm noticing the alert popup doesn't fire when changing this drop-down field's value.


When I initially load the page, the alert works fine and shows the default value. When I change this value and tab to other fields it does not produce the alert. Are there other settings in the form builder or portal mgmt app I should look at?






$(document).ready(function () {

function onDisplaySectionChange() {
    var varFunding = $('#cr92d_TypeofFundingRequest').val()




Screen Shot 2022-11-28 at 8.22.23 PM.png

Form Options JS

Frequent Visitor

Resolved! Hopefully this helps someone else as I struggled for hours. You must use the 'Logical Name' of the field which should be all lower case. I was using the 'Schema Name' in my example above.

Helpful resources

Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (1,628)