Jump to content

Recommended Posts

I have some PHP code that creates a data collection form. At the moment, several of the fields are required or the form is not submitted. I want to change this for the "review title" and "star rating" fields. Can anyone help me with this? I'm sure I just need to change a simple false to a true, but I'm not sure where. Code snippet below. Thanks.

 

http://pixelitforward.com/grapevine/

 

http://pastebin.com/BKUctcGt <----- Code pasted to pastebin

 

 

Also, There is a set of quotation marks, the first of which you can see on the page. For some reason, the closing mark is not visible. Can someone help me figure out why? I see it in the code.

Link to comment
https://forums.phpfreaks.com/topic/274138-how-to-disable-required-fields/
Share on other sites

It is very difficult to read. Unfortunately, that is not because of pastebin....thats the way it is actually written in the file. this is somethign someone else created,.

 

ROFL!

 

Have you tried opening it in UEStudio or Word to make sure there aren't end of line characters in the file?

 

You gotta fix it to really be able to work on it - even if it takes you 20 minutes to indent by hand, just do it or find some better code to start from.

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.