[Xerte] Re: getText issue

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Jun 10 10:02:44 BST 2011


The rs is the text field, the id is the page of responses. Give them different IDs.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: 10 June 2011 00:41
To: 'Xerte discussion list'
Subject: [Xerte] Re: getText issue

 BTW thanks for the POST suggestion Pat!

I have a 'text entry' icon that the user types their first name into. This
icon has both an ID and RS value of ' te_firstname'. This is on a form that
gets the users first, last names and email address.

I'm trying to pull the value out of this text field in order to pass it to a
web page to send email, but I'm stuck on getting the value out of this
field:

first = te_firstname.getText();

The variable 'first', which is previously defined, just comes up with
'undefined'.

Am I doing something obvious wrong?

Thanks RonM2



_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list