Hi,
I need to create a subject field for the special codes tab that combines 2 fields from the form.
The scenario is that this form is going to a ticketing system that will look for a subject like - Web: Problem [User subject] where user subject is a text field and Web: Problem is created from a drop down.
Is that possible?
I tried to combine them in the "On Submit Code - Before sending email", but of course, that doesn't work.
Is there another way to do this?
thanks
I need to create a subject field for the special codes tab that combines 2 fields from the form.
The scenario is that this form is going to a ticketing system that will look for a subject like - Web: Problem [User subject] where user subject is a text field and Web: Problem is created from a drop down.
Is that possible?
I tried to combine them in the "On Submit Code - Before sending email", but of course, that doesn't work.
Is there another way to do this?
thanks
Hi rodsdesign,
Yes, you can do this in the OnSubmit before email box. The code will be something like:
Bob
Yes, you can do this in the OnSubmit before email box. The code will be something like:
<?php
$_POST['subject'] = $_POST['user_subject'] & " " & $_POST['web_dropdown'];
?>
To have this work you'll need to include a hidden field named 'subject' in your form and put subject in the Special Fields 'Subject' box.
Bob
Thanks Bob,
I forgot the $_POST for the variable... duh...
appreciate you!
I forgot the $_POST for the variable... duh...
appreciate you!
This topic is locked and no more replies can be posted.