I've copied and added the 'Channel' field code to this Upload Form (from another Form, in this same script) but it isn't part of the Upload process of this Form. Can you suggest what I might do to integrate it? Thanks for any help. The added 'Channel' field code begins on line 155 (after <br /><br />):
<div id="column-right-2">
<div class="header-wide"><h2>[var.lang_upload_image]</h2></div>
<div class="container-wide">
<!--Begin Upload Form-->
<form name="picture_form_upload" method="post" enctype="multipart/form-data" action="image_uploader.php">
<div id="upload-video">
<ul>
<select name="album_id" size="1" tabindex="1" class="upload-video-form-input" style="display:none">[var.albums_all;htmlconv=no]</select></li>
<input type="radio" name="albumtype" value="public" id="album_public" checked="checked" tabindex="5" style="display:none;"/>
<input type="radio" name="album_ratings" value="no" checked="checked" tabindex="8" style="display:none;" /></li>
<input type="radio" name="album_cmts" value="no" checked="checked" tabindex="10" style="display:none;" /></li>
<li style="width:700px; text-align:center;"><h1>[var.lang_pictures_to_upload]</h1>
<div style="font-size:11px; color:#ee0000; margin-top:-10px;">[var.lang_image_file_types] [var.show_maxuploadsize]kb's
<br />
<b>[var.lang_maximum_dimensions]: [var.allowed_maxwidth] [var.lang_by] [var.allowed_maxheight] [var.lang_pixels]</b>
<br />
<b>[var.lang_minimum_dimensions]: [var.allowed_minwidth] [var.lang_by] [var.allowed_minheight] [var.lang_pixels]</b>
</div>
<li style="width:700px; text-align:center;">
<input type="file" name="img_file[]" size="50" tabindex="11" class="special_file" /><br />
<input type="file" name="img_file[]" size="50" tabindex="11" class="special_file" /><br />
<input type="file" name="img_file[]" size="50" tabindex="11" class="special_file" />
</li>
<li style="width:700px; border-bottom:1px solid #dddcdc;">
<input type="hidden" name="security_token" value="[var.security_token]" />
<input type="hidden" name="form_submitted" value="yes" />
<input type="hidden" name="v3" value="upload_pictures" />
<input type="hidden" name="MAX_FILE_SIZE" value="[var.allowed_maxuploadsize]" />
</li>
<li style="width:700px; text-align:center;"><span class="font5_12">[var.lang_your_restrictions]</span></li>
<li style="width:300px; text-align:right;"><strong>[var.lang_albums_used]</strong></li>
<li style="width:100px;"> </li>
<li style="width:300px; text-align:left;">[var.count_albums] [var.lang_of] [var.member_max_albums]</li>
<li style="width:700px; text-align:center;">[var.lang_pictures_resized_fit;htmlconv=no].
</li>
<div id="show_upload" style="visibility:hidden"><p align="center">[var.lang_please_wait]... <img src="themes/[var.user_theme]/images/icons/images_loading.gif" /></p></div>
<li style="width:700px; text-align:center;">
<input type="button" name="reset_button" value="[var.lang_reset]" tabindex="14" class="button-form" >
<input type="submit" id="upload_button" name="upload_button" value="[var.lang_upload_image]" accesskey="[var.access_code]" tabindex="15" onClick="showBlock('show_upload');" class="button-form" />
</li>
</ul>
<!--[onload;block=div;when [var.show_upload]=1;comm]-->
</div>
</form>
<!-- start image upload success and finish -->
<div>
<script type="text/javascript">
<!--
function confirm(picture_form_upload_finish) {
var upload_count = [var.img_file_tmp_count];
var tt, td, it, x;
x = 1;
for(var i = 0; i < upload_count; i++) {
tt = picture_form_upload_finish.elements['thumb_title_' + x].value
td = picture_form_upload_finish.elements['thumb_desc_' + x].value
it = picture_form_upload_finish.elements['image_tags_' + x].value
if ( tt == "" ) {
alert("Please fill in all of the image fields !");
document.picture_form_upload_finish.elements['thumb_title_' + x].focus();
document.picture_form_upload_finish.elements['thumb_title_' + x].select();
return false;
}
else if ( td == "" ) {
alert("Please fill in all of the image fields !");
document.picture_form_upload_finish.elements['thumb_desc_' + x].focus();
document.picture_form_upload_finish.elements['thumb_desc_' + x].select();
return false;
}
else if ( it == "" ) {
alert("Please fill in all of the image fields !");
document.picture_form_upload_finish.elements['image_tags_' + x].focus();
document.picture_form_upload_finish.elements['image_tags_' + x].select();
return false;
}
else if ( tt.length < 6 ) {
alert("The title must be at least 6 chrs !");
document.picture_form_upload_finish.elements['thumb_title_' + x].focus();
document.picture_form_upload_finish.elements['thumb_title_' + x].select();
return false;
}
else if ( td.length < 6 ) {
alert("The description must be at least 6 chrs !");
document.picture_form_upload_finish.elements['thumb_desc_' + x].focus();
document.picture_form_upload_finish.elements['thumb_desc_' + x].select();
return false;
}
else if ( it.length < 6 ) {
alert("Tags must be at least 6 chrs !");
document.picture_form_upload_finish.elements['image_tags_' + x].focus();
document.picture_form_upload_finish.elements['image_tags_' + x].select();
return false;
}
var check_spaces = it.indexOf(" ");
if ( it.length > 44 || check_spaces == -1 ) {
alert("Tags must be separated by spaces !");
document.picture_form_upload_finish.elements['image_tags_' + x].focus();
document.picture_form_upload_finish.elements['image_tags_' + x].select();
return false;
}
x++;
}
}
//-->
</script>
<form name="picture_form_upload_finish" id="picture_form_upload_finish" method="post" action="image_uploader.php" onSubmit="return confirm(this);">
<div id="UploadImage" align="center">
<br />
<h2>[var.lang_upload_complete]</h2>
<br />
[var.image_notice;htmlconv=no]
<table border="0" width="580" cellspacing="2" cellpadding="2" style="border: 1px solid #DFDCDC;">
<tr>
<td width="120" rowspan="7">
<p align="center"><img src="addons/albums/thumbs/[blkfinished.new_thumbs;block=table]" alt="Thumbnail" /> </p>
</td>
<td width="62%" colspan="2">
</td>
</tr>
<tr>
<td width="24%"><div align="right"><b>[var.lang_title]:</b></div></td>
<td width="62%">
<input type="text" name="thumb_title_[blkfinished.upload_slot]" size="30" class="image_form" />
<input type="hidden" name="img_name_[blkfinished.upload_slot]" value="[blkfinished.new_thumbs]" />
</td>
</tr>
<tr>
<td width="24%"><div align="right"><b>[var.lang_description]:</b></div></td>
<td width="62%"><input type="text" name="thumb_desc_[blkfinished.upload_slot]" size="30" class="image_form" /></td>
</tr>
<tr>
<td width="24%"><div align="right"><b>[var.lang_tags]:</b></div></td>
<td width="62%"><input type="text" name="image_tags_[blkfinished.upload_slot]" size="30" class="image_form" /></td>
</tr>
<tr>
<td width="24%"><div align="right"><font color="#ED0000" size="2"><b>* [var.lang_note]: </b></font></div></td>
<td width="62%"><font color="#ED0000" size="1"><b>[var.lang_enter_tags]</b></font></td>
</tr>
</table>
<br /><br />
<li style="width:240px; text-align:left;"> <strong>[var.lang_select_channel]:</strong></li>
<li style="width:400px; text-align:center;">
<select class="upload-video-form-input" style="width:160px;" size="1" name="channel" onchange="javascript:ahahscript.ahah('[var.base_url]/uploader.php?sub_cat='+ document.form_upload.channel.value, 'sub_change', '', 'GET', '', this);">
[var.fields_all;htmlconv=no]</select> ([var.lang_select_one])
</li>
<table>
<tr>
<td colspan="2">
<div align="center">
<br />
<script language="javascript" type="text/javascript">
<!--
document.writeln('<input type="submit" name="upload_complete" value="Finish Upload" class="button-form" tabindex="5" />');
//-->
</script>
<noscript>
<br><font color="#DD0000" size="2"><b>[var.lang_javascript_enabled]!</b></font>
</noscript>
<input type="hidden" name="album_id" value="[var.album_id]" />
<input type="hidden" name="new_photo_album" value="[var.new_photo_album]" />
<input type="hidden" name="img_uploaded" value="[var.img_file_tmp_count]" />
<input type="hidden" name="album_type" value="[var.album_type]" />
<input type="hidden" name="v3" value="upload_pictures_finish" />
</div>
</td>
</tr>
</table>
</div>
</form>
<!--[onload;block=div;when [var.show_finish]=1;comm]-->
</div>
<!-- end image upload success and finish -->
<div class="clear-fix"></div>
</div>
<div class="container-wide-footer"></div>
</div>