J
Jeff Johnson
Hi,
I'm building the backend of a site for a client and one of the requirements
is to add data to populate dropdowns which is straight forward, but they
also want to control the order they appear in the dropdowns. I've created a
field called 'Sort' using an INT for the datatype. I want to determine the
how to swap the 'Sort' field values when the user chooses to to update the
order. Can someone please recommend the best way to allow a user to update
the sort field?
Name Value Sort
abc ABC 10 (change to 30)
def DEF 20
ghi GHI 30 (change to 10)
Thanks,
Jeff
I'm building the backend of a site for a client and one of the requirements
is to add data to populate dropdowns which is straight forward, but they
also want to control the order they appear in the dropdowns. I've created a
field called 'Sort' using an INT for the datatype. I want to determine the
how to swap the 'Sort' field values when the user chooses to to update the
order. Can someone please recommend the best way to allow a user to update
the sort field?
Name Value Sort
abc ABC 10 (change to 30)
def DEF 20
ghi GHI 30 (change to 10)
Thanks,
Jeff