Change from required to not required fields in Form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mamamiaw
Forum Newbie
Posts: 3
Joined: Thu Jun 30, 2011 12:22 am

Change from required to not required fields in Form

Post 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
dhenick
Forum Newbie
Posts: 19
Joined: Tue Oct 20, 2009 10:46 am
Location: Yogyakarta, Indonesia
Contact:

Re: Change from required to not required fields in Form

Post 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.
mamamiaw
Forum Newbie
Posts: 3
Joined: Thu Jun 30, 2011 12:22 am

Re: Change from required to not required fields in Form

Post 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 :) )
dhenick
Forum Newbie
Posts: 19
Joined: Tue Oct 20, 2009 10:46 am
Location: Yogyakarta, Indonesia
Contact:

Re: Change from required to not required fields in Form

Post 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:
dhenick
Forum Newbie
Posts: 19
Joined: Tue Oct 20, 2009 10:46 am
Location: Yogyakarta, Indonesia
Contact:

Re: Change from required to not required fields in Form

Post by dhenick »

problem solve, just remove field with name required_
:mrgreen:
Post Reply