Hello,
again I try your software and wonder, wether a concatination with ' is possible.
I try to do the following:
set sWelcome = WELCOMETEXT';
interpret 'set ' + sWelcome + '.text = ''Bla''';
But it doesn't work. I try to concatinate a ' and in java, c or other langs it will be done with a double '
Thx in advance
Pnirff
Simple concatination
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Hi,
You are using the FPL programming language and you need to escape single quotes using a backslash e.g.
or to add a single quote to an existing field:
In both these examples, sWelcome is a form field.
If you are familiar with programming languages, you will probably find it easier to use Javascript instead of FPL as the server-side scripting language.
Regards
Jon
You are using the FPL programming language and you need to escape single quotes using a backslash e.g.
Code: Select all
set sWelcome = 'my son\'s dog';
Code: Select all
set sWelcome = sWelcome + '\'';
If you are familiar with programming languages, you will probably find it easier to use Javascript instead of FPL as the server-side scripting language.
Regards
Jon
0 x
-
- Ebase User
- Posts: 21
- Joined: Fri Jan 25, 2013 8:36 am
Who is online
Users browsing this forum: No registered users and 23 guests