Just created a Flash PHP Mail Form using the lovely guide from Senocular.
i just have one question - how can i make it so that certain fields MUST be filled out. So if the user does not fill these necccesary fields it takes them to a different part of the timeline where the apropriate message is placed.
say you have a field with var ‘email’ then put smth like
submit.onRelease = function() {
if (email==" ") {
gotoAndPlay(sectionwheremissinginfo)
} else {
// assuming that you have the send function on frame 2
gotoAndPlay(2)
}
}
ime (name), rojstvo (birth) and naslov (adress) are field vars. I left them blank and it still sent me to the wrong frame, namely the one thanking the user.