Posted the following a week ago, but no responses... any thoughts
anyone?

Steve

-----Original Message-----
From: galaxy-dev-boun...@lists.bx.psu.edu
[mailto:galaxy-dev-boun...@lists.bx.psu.edu] On Behalf Of Steven Platt
Sent: 12 October 2011 10:35
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] Fill field with user email, if logged in

Hi,

I a similar vein to
http://gmod.827538.n3.nabble.com/Dynamic-default-values-tt3010740.html I
am trying to populate a default value based on settings elsewhere, in
this case the user email if they are logged in.

So far I have:
    <conditional name="email_on_completion">
      <param name="send_email" type="select" label="Send email when job
is complete?">
        <option value="yes">Yes</option>
        <option value="no">No</option>
      </param>
      <when value="no"/>
      <when value="yes">
        <param name="address" type="text" value="$userEmail"
label="Email address"/>
      </when>
    </conditional>
Which views OK, except that the field contains $userEmail instead of
e.g. b...@gmail.com 
Can anyone tell me how to dynamically populate a field with a users
email address?

(I'd like to allow non-registered users to manually enter their address
if necessary, hence the text field rather than capturing the email
address directly in the command string.)

Thanks

Steve
-----------------------------------------
-----------------------------------------
**************************************************************************
The information contained in the EMail and any attachments is
confidential and intended solely and for the attention and use of
the named addressee(s). It may not be disclosed to any other person
without the express authority of the HPA, or the intended
recipient, or both. If you are not the intended recipient, you must
not disclose, copy, distribute or retain this message or any part
of it. This footnote also confirms that this EMail has been swept
for computer viruses, but please re-sweep any attachments before
opening or saving. HTTP://www.HPA.org.uk
**************************************************************************

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to