cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
krishnapwa
Level: Powered On

Fill datacard value based on other datacard

Hi peers,

 

I have two datacards 1. having text 2. having combobox

Text value should be filled from comboBox when combox is modified

ex: TextDatacard value = comboBox value

I tried using onselect,Onchange of combox box - below function, but not working.

DataCardValue93.Text = comboBox3.Selected.'Item number'

ItemDataCard_ComboBox.pngItemDataCard_Text.png

5 REPLIES 5
Super User
Super User

Re: Fill datacard value based on other datacard

Hi @krishnapwa,

There are two ways. You could set the default property of the target to

comboBox3.Selected.'Item number'

If you only wanted the value to be copied the the OnChange of the Combobox use a context variable in that property 

UpdateContext({var:comboBox3.Selected.'Item number'})

And make the default property of DataCardValue93 “var” without the “, or simply set the Update property of its card as var.

krishnapwa
Level: Powered On

Re: Fill datacard value based on other datacard

Thank you so much  

krishnapwa
Level: Powered On

Re: Fill datacard value based on other datacard

Thank you so much  

 

 

Super User
Super User

Re: Fill datacard value based on other datacard

You would filter the items property of the combobox by the text in the TextDataCard control.

krishnapwa
Level: Powered On

Re: Fill datacard value based on other datacard

Hi Drick,

 

could you please tell me what's expression I have to use.

ex: when I enter "abc" in text box , it should reflect in combobox datacard.

     ComboToText.png

 

Highly apprecaite your help.