Page 1 of 1

Change from required to not required fields in Form

Posted: Thu Jun 30, 2011 12:40 am
by mamamiaw
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

Re: Change from required to not required fields in Form

Posted: Thu Jun 30, 2011 5:34 am
by dhenick
all validation is on valid_special_form(); function I need to know where is that function stored.
may be it on system_function_files.php file.

Re: Change from required to not required fields in Form

Posted: Fri Jul 01, 2011 2:46 am
by mamamiaw
Hello dhenick :)

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

Thank you in advance :)

(aku kirim pesan lewat ym mas, mudah2an ga ganggu :) )

Re: Change from required to not required fields in Form

Posted: Fri Jul 01, 2011 3:19 am
by dhenick
beside on form action

Code: Select all

<form action="system_jobseeker_register.php" method="post">
its means that form processes on system_jobseeker_register.php find all required variable on that file.

:mrgreen:

Re: Change from required to not required fields in Form

Posted: Fri Jul 01, 2011 3:53 am
by dhenick
problem solve, just remove field with name required_
:mrgreen: