I’m trying to send an attachment from a form. The attachment is working, but is coming through with the temp filename rather than the original. Any ideas how to have the script use the original filename?
Cheers!
Chris
Question: how do I validate one part of a form’s input against another?
I have a form with a drop down list, and depending on the user’s selection, this may enable/show other form input areas which would then be required.
So for instance, as a very simple example, I have 2 items in my drop down: "black" and "blue". If the user selects "black", he can submit the form. If the user selects "blue", then another input field is unhidden by a javascript on the page with the label "What shade of blue?" This unhidden field then becomes a required part of the form. Basically I need to validate the unhidden conditional field to ensure it’s populated, but I don’t see a way in the documentation to access the value of a different form item to validate the current form item.