Skip to main content
Known Participant
October 23, 2021
Question

Function to turn Fieldnames into variable

  • October 23, 2021
  • 1 reply
  • 205 views

Hey there,

 

is there a possibility to create a function to turn the fieldnames directly into variables?

I mean that this gets automated:

var Foo = this.getField("Foo");

var Bar = this.getField("Bar");

var Phone = this.getField("Phone");

 

Thank you very much in advance.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
October 23, 2021

It is possible to do it, yes, but that's a very strange thing to do... Why do you want to do it like that, exactly?