Groove form tool

M

Marc Dimmick

This is a scripting question in respect to using with groove form tool.

I want to pull the data from a dropdown filed. the data is a collection of
emails which I want to create an email notice using a button. I have the
whole concept working with a text field fine using the var sAddress =
GetHTMLFieldValue("VariableName"); but how do I get data from a drop down
field?
 
M

Mark Smith

Hi Marc -

This is from memory, but something like

var elem = document.getElementById(myFieldName);
var indexpos = elem.selectedIndex;
var myvalue = elem.options[indexpos].value;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top