Results 1 to 5 of 5

Thread: Is it proper to save a copy checkbox?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Ottawa
    Posts
    155

    Question Is it proper to save a copy checkbox?

    Hi all,

    I have a web form that I made sometime ago with two sections for addresses. Now, for section 2 I have a checkbox that says: "Same address as section1" and when the user checks it off then it copies the fields from section 1 to section 2. Now the form can be modified at a later time. If the user decide to check the checkbox, should the check mark be saved or not? Meaning if the user goes back to the form should the checkbox still be checked?

    I know this is probably a design decision but wondering if anyone has ever seen it done before?

    Also, why is it usually a checkbox and not a button since it really acts as a copy button?

    Thanks.
    Last edited by Koya; Mar 1st, 2005 at 01:00 PM.

  2. #2
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: Is it proper to saving a copy checkbox?

    I was thinking the same thing about the button instead while I read it. But if you use a check box then yes, the state of it (checked or unchecked) should relate to if you've copied the data.

    May I suggest a couple ways to do it:

    1. When they click the checkbox and it turns checked then copy the data to the second box then disable it. This way your sure it is really copied and if they won't be able to edit it to otherwise. For this you will have to set it so that when second one is edited the new value is copied into the other box if the box is checked. use the onkeypress event for that .

    2. Have it so that pressing the box will copy the data over but if the second box is altered it will uncheck the box. But if the first is edited then it copies over the changes.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Ottawa
    Posts
    155

    Question Re: Is it proper to save a copy checkbox?

    Thanks,

    Great Ideas. But didn't answer my question about whether the state of the checkbos needs to be preserved when the user comes back to modify the form?

    Thanks.

  4. #4
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: Is it proper to saving a copy checkbox?

    Quote Originally Posted by Electroman
    But if you use a check box then yes, the state of it (checked or unchecked) should relate to if you've copied the data.
    Not even this bit? If you use a Checkbox then yes preserve the state. But you could just use a button and then you don't need the other stuff I mentioned.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Ottawa
    Posts
    155

    Re: Is it proper to save a copy checkbox?

    Great thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width