Jump to content

Change from required to not required fields in Form


mamamiaw

Recommended Posts

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

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.