Jump to content

Sub-Category list elements don't appear in alphabetical order


Recommended Posts

This Form works successfully, however, the Sub-Category list elements don't appear in alphabetical order, even though I entered them into this script's siteAdmin sub-category-input in alphabetical order. Is there a line of code that could direct the elements to appear in alphabetically order upon selecting the drop-down choices? Or other solution? Here's the Form code:

<form enctype="multipart/form-data" action="uploader.php" method="POST">
<div id="upload-video">
<li style="width:240px; text-align:right;"><strong>[var.lang_title]:</strong></li>
<li style="width:400px; text-align:left;"><input name="title" type="text" class="upload-video-form-input" value="[var.title]" size="38" />

<li style="width:240px; text-align:right;"><strong>[var.lang_description]:</strong><br /></li>
<li style="width:400px; text-align:left;"><textarea rows="4" name="description" id="description" cols="29" class="upload-video-form-input">[var.description]</textarea><br />

<li style="width:240px; text-align:right;"><strong>[var.lang_tags]:</strong></li>
<li style="width:400px; text-align:left;"><input name="tags" type="text" class="upload-video-form-input" value="[var.tags]" size="38" />

<input type="hidden" name="channel" value="9"/>
<li style="width:240px; text-align:right"><strong>Sub-Category: </strong></li>
<li style="width:450px; text-align:left;" ><select class="upload-video-form-input" id="sub_change" size="1" name="sub_cat"></select>
<input type="hidden" name="vid_upload_token" value="[var.vid_upload_token]" />

<table id="tab1">
<input type="hidden" name="public_private" value="public"></li>
<input class="buttonform1" type="submit" value="UPLOAD" />

<input class="upload-video-form-input" type="hidden" name="form_submitted" value="yes" />
<script>javascript:ahahscript.ahah('[var.base_url]/uploader.php?sub_cat=1', 'sub_change', '', 'GET', '', this); </script>

Any guidance/remedy will be appreciated.

Link to comment
Share on other sites

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.

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.