The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combining Fields
Found this tech note:

I want to combine First Name and Last Name fields into one field for use elsewhere I tried this and it did not work:

if ( (isset($_POST["first_name"]) && !empty($_POST["first_name"])) &&
(isset($_POST["last_name"]) && !empty($_POST["last_name"])) )
$_POST["name"] = "{$_POST["first_name"]}_{$_POST["last_name"]}";

Does this work for creating a merged field if I am using FormTools internal forms?
Excellent. This is a bug with 2.1 compatibility: I'll release an update to the module shortly.

Thanks for letting me know!

- Ben

Forum Jump:

Users browsing this thread: 1 Guest(s)