Hi-
I've set up my add form so that people can add into multiple categories with check boxes. I don't have a lot of change in the categories on this directory, so I hard coded the check boxes using CatLinks.CategoryID and then specifying the the appropriate value for the category. This works great for letting users add their links into several multiple categories by themselves from the add form.
The problem is on the user modify process. Is there any way to have the checkboxes come up checked for the specific category ID numbers? I tried the following:
<input type="checkbox"
name="CatLinks.CategoryID" value="25"
<%if CatLinks.CategoryID like '25'%>checked<%endif%>>
But that didn't work even if the link was in the category with the Category ID number 25.
Does anyone know if there is any way to do this? I've been struggling with it all day, and can't seem to come up with an answer...
--jw
I've set up my add form so that people can add into multiple categories with check boxes. I don't have a lot of change in the categories on this directory, so I hard coded the check boxes using CatLinks.CategoryID and then specifying the the appropriate value for the category. This works great for letting users add their links into several multiple categories by themselves from the add form.
The problem is on the user modify process. Is there any way to have the checkboxes come up checked for the specific category ID numbers? I tried the following:
<input type="checkbox"
name="CatLinks.CategoryID" value="25"
<%if CatLinks.CategoryID like '25'%>checked<%endif%>>
But that didn't work even if the link was in the category with the Category ID number 25.
Does anyone know if there is any way to do this? I've been struggling with it all day, and can't seem to come up with an answer...
--jw