DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Advanced Form Controls  
DwZone Forum Index -> Advanced Form Controls

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 81 to 90 of 381 (Total: 176) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: Comma-separated CheckBoxes - Can't submit form if no boxes checked  
View this persons public profile  Gianluigi   10:20 15 Jun 2011  
   Re: Comma-separated CheckBoxes - Can't submit form if no boxes checked  
View this persons public profile  JeffKeller   10:48 14 Jun 2011  
   Re: Comma-separated CheckBoxes - Can't submit form if no boxes checked  
View this persons public profile  Ken   13:42 4 Feb 2016  
    PHP Drag d_r_o_p With Category  
View this persons public profile  Steve   1:00 8 Apr 2011  
 
I have a need where I have a category feilds so each sort would be different for each category.

Meaning Baseball will have its own sort order of items in table sportsvideos

and Football will have its own sort order of items in table sportsvideos

Can you give me the recomended way to setup the insert page for DD Sort Insert/update?

Can you give me a recomended way to sort by category?
So that as it inserts/updates new sort orders it checks to see what category it belongs to first?

my table for sportsvideos is like the following:

id
category int (football, baseball, soccer, etc.)
sportvideotitle
description
sortorder

I guess what im asking is that it looks up the next value where category id is the same.
or by category id


See right now if I insert an item football, and assign 1 its 1

If I assign football again its sort is 2

If I assign baseball its 3 but should be 1 because its different catid

Is this possible? or too much extra coding involved?

 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: PHP Drag d_r_o_p With Category  
View this persons public profile  Gianluigi   10:48 8 Apr 2011  
   Getting Error PHP Dragd_r_o_p Insert Behavior  
View this persons public profile  Steve   6:54 6 Apr 2011  
   Re: Getting Error PHP Dragd_r_o_p Insert Behavior  
View this persons public profile  Gianluigi   10:32 6 Apr 2011  
   Re: Getting Error PHP Dragd_r_o_p Insert Behavior  
View this persons public profile  Steve   10:48 6 Apr 2011  
   Re: Getting Error PHP Dragd_r_o_p Insert Behavior  
View this persons public profile  Gianluigi   11:29 6 Apr 2011  
   Re: Getting Error PHP Dragd_r_o_p Insert Behavior  
View this persons public profile  Steve   11:30 6 Apr 2011  
Last Visit: Saturday 5 Jul, 2025 2:24 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: