Skip to main content
Inspiring
September 13, 2006
Answered

Question for pros

  • September 13, 2006
  • 2 replies
  • 263 views
Ok this is my problem. I create a leave request page, the employees log in. After they log in it takes them to a calandar. On the calandar they request the leave by clicking a check mark box next to the day they are requesting and hit submit. And the record is updated. To prevent duplicate entrys in our database, if the employee wants to request additional leave for that month they login and return to the calandar. The calandar already displays the days that they have prevously requested. Now this is my problem. It displays the days they prevously requested as planed, but I want to block the user from changing any of the exising checkmarks from a prevous request. Is it possible to Gray these out or hide these fields with checkmarks. Thanks for you help in advance.
This topic has been closed for replies.
Correct answer Newsgroup_User
Just set the attribute disabled="disabled" in the checkbox tag of those that
they have already entered.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"lands1ide" <webforumsuser@macromedia.com> wrote in message
news:ee9f7o$qnp$1@forums.macromedia.com...
> Ok this is my problem. I create a leave request page, the
> employees
> log in. After they log in it takes them to a calandar. On the calandar
> they
> request the leave by clicking a check mark box next to the day they are
> requesting and hit submit. And the record is updated. To prevent
> duplicate
> entrys in our database, if the employee wants to request additional leave
> for
> that month they login and return to the calandar. The calandar already
> displays
> the days that they have prevously requested. Now this is my problem. It
> displays the days they prevously requested as planed, but I want to block
> the
> user from changing any of the exising checkmarks from a prevous request.
> Is it
> possible to Gray these out or hide these fields with checkmarks. Thanks
> for you
> help in advance.
>


2 replies

lands1ideAuthor
Inspiring
September 15, 2006
thaks for your help.
Newsgroup_UserCorrect answer
Inspiring
September 15, 2006
Just set the attribute disabled="disabled" in the checkbox tag of those that
they have already entered.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"lands1ide" <webforumsuser@macromedia.com> wrote in message
news:ee9f7o$qnp$1@forums.macromedia.com...
> Ok this is my problem. I create a leave request page, the
> employees
> log in. After they log in it takes them to a calandar. On the calandar
> they
> request the leave by clicking a check mark box next to the day they are
> requesting and hit submit. And the record is updated. To prevent
> duplicate
> entrys in our database, if the employee wants to request additional leave
> for
> that month they login and return to the calandar. The calandar already
> displays
> the days that they have prevously requested. Now this is my problem. It
> displays the days they prevously requested as planed, but I want to block
> the
> user from changing any of the exising checkmarks from a prevous request.
> Is it
> possible to Gray these out or hide these fields with checkmarks. Thanks
> for you
> help in advance.
>