mamamiaw Posted June 30, 2011 Share Posted June 30, 2011 Hello all First of all, i like to ask some help here I'm not a programmer at all, and our programmer left yesterday do to some personal problems and we have this webscript uncompleted, where we create a register form..and on that form we need to change some field, from required field to unrequired (and/or the opposite) I can't show you the website yet (it's still in our testing server/locally installed) and i can't post the whole website script But here's the HTML and PHP script of it the register.html file http://pastebin.com/7S0vZthH The register.php file http://pastebin.com/D1y3grE3 sorry to post it on pastebin since posting the whole code is restricted by maximum number of words on each post on this forum If there's other script that you all need to see please let me know Thank you in advance Quote Link to comment https://forums.phpfreaks.com/topic/240779-change-from-required-to-not-required-fields-in-form/ Share on other sites More sharing options...
monkeytooth Posted June 30, 2011 Share Posted June 30, 2011 Some of your problem is in another file I believe from quickly glancing over your pastebin... there is a function valid_special_form() that your coder is telling all data that is posted from the form to go into.. which is likely somewhere in one of these 3 files.. include("setting.php"); include("class.phpmailer.php"); include("system_function_files.php"); how it handles in there I don't know. But I believe at least thats where the (not )required parts are.. Quote Link to comment https://forums.phpfreaks.com/topic/240779-change-from-required-to-not-required-fields-in-form/#findComment-1236701 Share on other sites More sharing options...
revraz Posted June 30, 2011 Share Posted June 30, 2011 I would suggest posting in the freelance section and get someone to do it for you. Plenty of people are willing to help out. Quote Link to comment https://forums.phpfreaks.com/topic/240779-change-from-required-to-not-required-fields-in-form/#findComment-1236702 Share on other sites More sharing options...
mamamiaw Posted July 1, 2011 Author Share Posted July 1, 2011 Some of your problem is in another file I believe from quickly glancing over your pastebin... there is a function valid_special_form() that your coder is telling all data that is posted from the form to go into.. which is likely somewhere in one of these 3 files.. include("setting.php"); include("class.phpmailer.php"); include("system_function_files.php"); how it handles in there I don't know. But I believe at least thats where the (not )required parts are.. Hello there monkeytooth Thank you for kindly replying my thread Here's the system_function_files.php http://paste2.org/p/1497680 and this is the system_function_initialize.php http://paste2.org/p/1497681 and this is the system_function.php http://paste2.org/p/1497683 and if you like and you think it's must, i will give you the 'edited' version of the setting.php Thank you in advance mamamiaw Quote Link to comment https://forums.phpfreaks.com/topic/240779-change-from-required-to-not-required-fields-in-form/#findComment-1237191 Share on other sites More sharing options...
mamamiaw Posted July 1, 2011 Author Share Posted July 1, 2011 I would suggest posting in the freelance section and get someone to do it for you. Plenty of people are willing to help out. That will be instant i guess but beside it's difficult to get an extra budget, also i wish to learn something from this situation that's why i expect a clue from this case so i can do something from there and learn something at the same time Thank you for replyin revraz Quote Link to comment https://forums.phpfreaks.com/topic/240779-change-from-required-to-not-required-fields-in-form/#findComment-1237193 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.