I use a similar method as Mochi, but I use Javascript to autofill the Subject field with a Unix Timestamp giving me a unique number at the end of each subject, then I set the CSS value of the form Subject field and it's Label to none, making it invisible to the user. The Subject field has to be the first field of the form for this to work, as it has no defining attributes, so this simply modifies the 1st field. Seems to be working so far.
PAGE HEADER CODE INJECTION
<script>
$(document).ready(function(){
var timecode = Date.now();
var subjecttxt = "#" + timecode;
$('form').find("input[type=text], text").each(function()
{
if(!$(this).val()) {
$(this).attr("value", subjecttxt);
$(this).attr("readonly", true);
$(this).css("display","none");
var val = subjecttxt;
return ( val !== subjecttxt );
}
});
});
Form Submission, Unique Subject
in Customize with code
Posted
How would I get this to work if I have multiple forms on my website? Would there be a way for each form to have a unique subject line?
Thank you so much for the help!