View Full Version : submit a "something"
Hello, I would like to have something like this where people submit things. In this case, it would be "results" so can someone tell me how to make it. All I want is the ability of visitors submiting results.
robin7816us
01-06-2008, 03:19 AM
Dear, I guess your requirement is to get user input in the input boxes or textarea, if this be the case, there are several custom codes available in PERL to help you out. If you require something like Attachements in e-mail, then that's what i also am looking for, specially coded in PERL.
Tell your requirement in detail to help you out.
bye folks:rolleyes:
Well, this is what I need, like this site, where it says "submit a result" and I want the same thing on the "submit a result" page. http://www.flocasts.org/flotrack/results.php
BLiZZaRD
01-06-2008, 09:46 AM
It's just a form... You can make one, and then link to it with a button that says "Submit A Result" if you wish...
There are even self explaining tutorials about building forms. like this on in PHP (http://www.tizag.com/phpT/examples/formex.php) or this one in PERL (http://www.oreilly.com/openbook/cgi/ch04_03.html)
There are even Free ones ready to go and out of the box (http://www.freeperlcode.com/guide/Form_Mail/) (I like Cliff's btw)
Ohh nice. I am trying to the PHP one, however, when the visitor is filling out the form and presses "Submit" where do the information completed go to?
BLiZZaRD
01-07-2008, 12:02 AM
You would set it up to get sent to you via an email. You would redirect the visitor to a "thank you page" letting them know their submission was sent successfully and offer a link to go back.
How do I do that? Please and thank you!
BLiZZaRD
01-09-2008, 01:36 AM
Allow me to answer your question with a question..
What exactly is it you want to do with this?
My understanding is you want a form on your page, and you want people to put in their email address, a subject, and a message and hit submit, and this information will be sent to you via email, without displaying your email address.
Is that right?
Yes, you are correct, and I want to have extra fields similiar to this page http://www.flocasts.org/flotrack/results.php?a=add with extra fields similiar to that page
BLiZZaRD
01-09-2008, 02:24 AM
Ahh, okay. The reason I asked was I have a php submit form that does what I stated that is very very secure, and prevents spam and bots very very well.
I will take a good look at it tomorrow (I am too sick today) and will try to edit it for the fields you need.
If you could list for me all the fields you want it to have I will see what I can do.
Thank you so much Blizzard! You are a genius! I do not know how to thank you!
BLiZZaRD
01-10-2008, 01:05 AM
Large cash donations are always helpful :p
If you could list for me all the fields you want it to have I will see what I can do.
You need to do this for me though, I am not going to guess which fields you need.
Exactly what is on this page, however, instead of having it named as "results" I want it to be known as "races and events". Also, some extra fields such as "video url", and having the ability to write the exact address (an option though visitors can choose). Also instead of having "start date and end date" just have "dates of event". I will see what I can do with the donations, I would really like to donate! Thanks again.
Hey Blizzard, I also wanted to have another field where it says the "type of event" (road race, track and field, cross country and etc..). How are you going so far with the script? Please and thank you.
BLiZZaRD
01-13-2008, 05:36 PM
I am about 0.9% done. Sorry, didn't forget but I got a paying gig that took priority over everything.
I will be back on it later this week though. Promise.
Yup, no problem. Also, is there a way that will sort it like that exact page (http://www.flocasts.org/flotrack/results.php) where the results are listed and I view only about 50 a page and the rest automatically go into other pages (1,2,3,4,5...etc.) Thanks!
BLiZZaRD
01-13-2008, 05:41 PM
I will see what I can do.
Yup, thank you!
Fields
"Name of Event / Meet"
"URL of Video for this event"
"URL of Result for this event"
"URL of Pictures for this event"
"Official website for this event"
"Date of event"
"Location: Address, Postal Code/Zip Code, City, Province/State, Country"
"Result Information: like on that site, same thing"
Thank You So Much Blizzard You Are Truly One Of A Kind!! You Are Incredible!
Hey Blizzard, just wondering how far you are with the form? Thanks.
So Blizzard, how are you going with the script?
BLiZZaRD
01-25-2008, 06:24 AM
OH! Heh, I knew I was forgetting something...err, I still have what I have done so far... I will get to work on it in my down time and hopefully have something to show in a few days.
Sorry, I have been scatter brained lately.
Hey Blizzard. How is it coming off?
Hey Blizzard, how are you going with the script?
BLiZZaRD
02-02-2008, 08:17 PM
Will get some time to work on it today. Hopefully it will be complete. Maybe.
BLiZZaRD
02-04-2008, 09:09 PM
Okay, I have done as much as I can with this. Styling and layout will be up to you.
you can see a live example on this page (http://cleverwasteoftime.com/test/contact.php)
I believe I got all the fields and drop downs you requested in there. If not I may have time to add a few more.
If this is what you are looking for then let me know and I will zip it up for you. It's not hard at all to customize for your email address and page, etc.
Enjoy
Blizzzzzard! Omg! You Are Uvelievable! It Is Incredible! You Are Great, Thank You So Much!
BLiZZaRD
02-09-2008, 04:01 AM
So I take it that will work? If there is nothing else I will zip it up for you with instructions.
Yup, it's perfect like that!
BLiZZaRD
02-09-2008, 06:50 PM
Okay, I am writing the instructions file and zipping it up now. Will post back when it is complete. Shouldn't be too long, but I am at work so it may be about an hour or so.
I got done faster than I thought. Zip file is uploaded. Have fun!
Thanks again! THANK YOU!, ok, now this is what the errors that I am getting. http://athletes4excellence.com/contactForm/contact.php I checked the contactForm/lang/ and theres a directory of English and sophyblue, but no english.php, then inside the folder sophyblue, there is english.php, so I linked to there.
BLiZZaRD
02-10-2008, 04:56 AM
AHHH! my bad! thats what I get for doing 4 projects at once while being at work. I have removed the old one and re-uploaded the correct folder. Just grab it and unzip, then just upload the lang folder, remove all that sophyblue crap.
Hey Blizzard, thank you! THANK YOU THANK YOU! Looks incredible. One problem, I am getting these errors "Errors!Missing required field 'Results'
Missing required field 'Results'
Missing required field 'Results'" even though I chose one for each. The page is http://www.athletes4excellence.com/contact/contact.php . Thanks.
BLiZZaRD
02-10-2008, 08:19 PM
I will look at it more, I can't see any errors in the coding... may be in the PHP so I will have to check that out in more detail when I get home.
Alternately you could make them NOT required...
find this in the contact.php:
type=select|class=fmselect|label=Results|fieldname=fm_resultLevel|req=true|data=(Level),Pro,College,High School,Other
type=select|class=fmselect|label=Results|fieldname=fm_resultType|req=true|data=(Type),Cross Country,Track,Road,Marathon
type=select|class=fmselect|label=Results|fieldname=fm_resultGender|req=true|data=(Gender),Men and Women,Men,Women
Change the "true" to "false" where I highlighted red. That should get it to work until I can figure out the problem.
Wow, just wow! That is incredible and I also like the "IP" and "Host" thing that comes along with the email. So, the only problem is the fields, this time I made it not being required, however, I still filled out the fields, and in the email that I received they are blank.
Thanks again Blizz, thank you!
BLiZZaRD
02-12-2008, 05:58 PM
Okay, I am a dork I guess... I figured out the problem, tested it this time and all is well. The problem was the "fieldname" didn't like having capital letters in it. so where I had fieldname=fm_resultsGender I have changed it to fm_gender (I also felt the "results" part was redundant.
It works now and I have re-zipped and uploaded the entire thing (with working field sets now)
Enjoy!
Hey Blizzard, I still get that problem "problem is the fields, this time I made it not being required, however, I still filled out the fields, and in the email that I received they are blank."
Thanks.
BLiZZaRD
02-18-2008, 04:26 PM
Make sure you uploaded the newer file and made all the changes again. Then refresh your browser or better yet clear the cache, to ensure you are seeing the new page.
I tested it 2 times each of 6 browsers and 4 email addresses, and it worked fine each time.
Ohh ok, I'll try that, thanks!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.