![]() |
Adding template and modifying fields
I'm trying to design a form that will serve as a "link exchange request" form.
I'm not very knowledgeable in the coding area so any help will be greatly appreciated. This is what I have done so far: 1) I've created a new template based on the contactus template...copying the code from the contactus template to the new one I've created...basically having two contactus forms. 2) I copied the sendmessage.php page and renamed the new one to sendmessage2.php. I've also changed the new link exchange request template post action to use the sendmessage2.php page. Now...the way I figure it is that if I can add and/or modify the fields on this new template I've created...I basically have a link exchange request page that uses image verification...since the code was copied from the original contact us template. Assuming this works...how can I add fields like a drop down menu box, etc., etc.? Again...any help is greatly appreciated and I hope to hear from someone soon...since other posts I have made in other hacks have yet to be answered...either due to lack of mod support...lack of knowledge...or no one gives a "you know what". |
For the HTML drop down menu, you can get an idea on how to make one by looking at the HTML souce of a webpage containing a drop down menu. There will be a SELECT tag with a name attribute that holds a variable name. That variable name will become a PHP variable containing the OPTION tag value and will need to cleaned in the PHP file before you use it for anything. There is an article here on how to clean variables.
|
calorie...
Thanks for replying...but based on everything else I've done so far...do you think this idea of mine will work as a link exchange form? Also...do you think the CAPTCHA will work as well? I will check out the link you supplied about adding the drop down menu. Thanks, again. Kudos to you for responding so quickly...that's more than I can say for the other users whose hack threads I've posted in. |
Don't see why not, but haven't coded it, so cannot say for sure. Best thing to do is try it and tweak as needed. Good luck.
|
All times are GMT. The time now is 03:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|