Forum

Questions and discussions

Change default of selection in upload form?

Script's setup and configuration

Change default of selection in upload form?

Postby Bidsl » Sat Jan 18, 2014 6:10 am

I have several different formats of video allowed. When the upload video form opens, it has every type of video checked by default. For example,

.wmv
.mp4
.avi
shipped

all of these formats are selected by default on the form. My users will typically be uploading only one format so they have to go through and uncheck/unselect all of the formats that they are not uploading. It would be much simpler if none were selected by default, and the user then just selects the one format they will be uploading.

How do I change this so that none are selected? I figure it must be in the database, but I can't find the table that controls this.
Bidsl
 
Posts: 21
Joined: Sat May 12, 2012 3:04 pm

Re: Change default of selection in upload form?

Postby Bidsl » Sun Jan 19, 2014 11:59 pm

Figured this out.

In case anyone is looking to do this in the future, the box is set to checked in admin/functions/upload.php

I just removed "checked" in the code and it had my desired effect.
Bidsl
 
Posts: 21
Joined: Sat May 12, 2012 3:04 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.