how to get the value of one field, set it as default value another field in PloneFormGen

1 message Options
Embed this post
Permalink
surendhar () how to get the value of one field, set it as default value another field in PloneFormGen
Reply Threaded More More options
Print post
Permalink
Hi
I have requirement to get the dynamic values to a selection field (name: client-name), so I am giving the expression as

python: (('name1', 'value1'),('name2', 'value2'),('name3', 'value3'))

In selection field it is giving the options as 'value1', 'value2', 'value3'

I have one more text field (name is client-email)

Now if I select "value1" in selection field, in text field I want to get the default value as "name1", is it possible in PloneFormGen. How to get the value of value of "client-name" in "client-email"

Please any one help me out.