How to capture an age input field

Bronze Contributor
Bronze Contributor

So i have a drop down with multiple age inputs, would like to capture the age that is being chosen.


heres the code associated with the age selection in bold below, the jquery selector i chose was select#my-age


<section id="home-insurance-need" class="home-insurance-need-partial one-article container-fluid row">
<div id="home-insurance-header" class="col-lg-12 text-center">
<div id="home-insurance-page1">
<p class="home-insurance-heading">By answering just a few questions we can start to point you in the right direction.</p>
<div class="col-lg-12 col-md-12 text-center">
<form class="madlib">
<p class="h2">
I am
<select id="my-goals" style="position: relative;" required="required" name="my-goals">
<a id="home-insurance-page1-next" class="btn btn-primary">Show Me ›</a>
<div id="home-insurance-page2" class="container-fluid">
<section id="home-what-you-get" class="row three-icons">
<h1 class="h1 text-center">What You Get</h1>
<p class="col-xs-12"></p>
<article class="col-lg-4 col-



How to capture an age input field

Employee Emeritus

@wayne_aspesi without a little more information I'm not sure exactly what you're wanting, I'll guess that you want to capture that value when the associated form is submitted. In that case, you would use a jQuery onHandler extension to capture the click on the form submit and then associate the UDO variable with that value. Below is an example. If that's not what you're wanting please provide some additional information and we'll be glad to assist. 


Capture Value.png