Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Another ChexkBox Problem in Link Properties

Quote Reply
Another ChexkBox Problem in Link Properties
I am having another problem with the chexkbox option within link properties.

Below is what I am doing:
  • Click on Link Properties
  • Click on Add Column
    • Column Name :: Test_Column
    • Column Type :: Text
    • Column Index :: None
    • Column Size :: ______Blank
    • Column Values :: ______Blank
    • Not Null :: No
    • Default :: ______Blank

    • Form Display :: Test_Column
    • Form Type :: CHECKBOX
    • Form Names ::
          • Option 1
          • Option 2
          • Option 3
          • Option 4
    • Form Values ::
          • Option 1
          • Option 2
          • Option 3
          • Option 4







Now I am using a Add Listing Form to and am selecting Option 1 and Option 3. However from the admin view when I try to validate listing, it does not show any checked/selected. And in addition to that, if I were to select the Option 4 (which happens to be "others"), along with any other options, it displays only Option 4 as checked.

Also, when I am adding listings from Admin Side, it seems to be working alright, however when I do the same from public view (add listing page) it is not working :(

Does anyone knows how to work around this issue and make this thing work.

Thank you for the support.

Vishal

Vishal
-------------------------------------------------------

Last edited by:

NeedScripts.Com: Mar 8, 2004, 9:10 AM
Quote Reply
Re: [NeedScripts.Com] Another ChexkBox Problem in Link Properties In reply to
I have the same problem. I had assumed that it was fine as I had tested it when adding sites through admin but I've just checked my site and if I add sites through the site none of the checkboxes get selected.

It just so happens that this is not an important field in my database (I'm not using it anywhere yet).

If anyone is successfully using a checkbox field please can they describe the column they are using?
Quote Reply
Re: [afinlr] Another ChexkBox Problem in Link Properties In reply to
I just tried that and it seems working fine. This is what I have in the include_form.html. The Column Property is just exactly the name with four options.

<tr><td align="right" valign="top"><%body_font%>Options:</font></td>
<td>
<input type="checkbox" value="option1" name="Options">Option 1<br>
<input type="checkbox" value="option2" name="Options">Option 2<br>
<input type="checkbox" value="option3" name="Options">Option 3<br>
<input type="checkbox" value="option4" name="Options">Option 4<br>
</td></tr>

Would you please send me a private message with your admin URL, username/password so I can take a look? Can you please check the value of the Column for that link?
Quote Reply
Re: [Virginia] Another ChexkBox Problem in Link Properties In reply to
In Reply To:
I just tried that and it seems working fine. This is what I have in the include_form.html. The Column Property is just exactly the name with four options.

<tr><td align="right" valign="top"><%body_font%>Options:</font></td>
<td>
<input type="checkbox" value="option1" name="Options">Option 1

<input type="checkbox" value="option2" name="Options">Option 2

<input type="checkbox" value="option3" name="Options">Option 3

<input type="checkbox" value="option4" name="Options">Option 4

</td></tr>

Would you please send me a private message with your admin URL, username/password so I can take a look? Can you please check the value of the Column for that link?


Hi Virginia,

Thanks for the help and I assume that I was making a mistake. What I was doing was copying the checkboxs from the add listing page from admin view and adding it in the public view. This method has worked like a charm in past with other options, but it was not working with this option and after comparing the code, I understand why. Now I am able to setup proper code on the add listing page and it seems to be working great.

Now I am having another question.

How would I show the information on the detailed page? I know how to use if and endif tags to make one of many selection work, however I don't know how to make checkbox options work where there could be more than one selection.

Thanks for the help.

Vishal

Vishal
-------------------------------------------------------
Quote Reply
Re: [NeedScripts.Com] Another ChexkBox Problem in Link Properties In reply to
Smile Problem Solved Smile

Found the solution :)

Thanks for the help.

Vishal

Vishal
-------------------------------------------------------