|
-
Mar 1st, 2005, 12:22 PM
#1
Thread Starter
Addicted Member
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.
-
Mar 1st, 2005, 12:51 PM
#2
Ex-Super Mod'rater
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.

-
Mar 1st, 2005, 01:39 PM
#3
Thread Starter
Addicted Member
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.
-
Mar 1st, 2005, 02:04 PM
#4
Ex-Super Mod'rater
Re: Is it proper to saving a copy checkbox?
 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.

-
Mar 1st, 2005, 04:03 PM
#5
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|