Hi there,
I'm having difficulty pre-populating a form field with designated text when I click a button.
I want to navigate from my landing page, using a button, to a dedicated form page and at the same time prepopulate the "name" data card value with the "button.text".
So far, I've tried:
If(
AberdeenButton.Text = "Aberdeen", "ABER1",
EdinburghButton.Text = "Edinburgh", "EDIN1",
GlasgowButton.Text = "Glasgow", "GLAS1"
)
As a result, when I press the edinburgh button, "ABER1" still prepopulates the datacard value.
Could anybody steer me in the right direction?
Thanks in advance.
W