klwillis
Posts: 428
|
| Posted: 12/04/2004, 2:03 PM |
|
It happened again ...
I copied a record from from one page to another,
and now the JavaScript events triggered when
fields are changed (onChange()) or when the form
is Submitted (onSubmit()) no longer work.
Has anyone else encountered this problem?
It's most likely a syntax error in my HTML, but if anyone
has clues on where to look, I'd appreciate it.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
Damian Hupfeld
|
| Posted: 12/05/2004, 2:45 AM |
|
Im not sure if this is the same thing or not -
when I create a grid or label with Custom Code or Event attached to it, and
then I MOVE or COPY the grid/label elsewhere, CCS records the Custome
Code/Event status but doesnt copy the actual code or action.
I dont know if this is by design or not but it confused me at first (still
does sometimes!) as I think that the coe is there but not running, when in
fact the code is actually NOT there.
regards
Damian Hupfeld http://www.nexthost.com.au/services.php
|
|
|
 |
klwillis
Posts: 428
|
| Posted: 12/05/2004, 9:56 AM |
|
Yes Damian, you're describing the same problem I've also having.
CCS Tech -
Any ideas you have on how we can easily solve this in
our code WITHOUT rebuilding a data form would be
appreciated.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
Damian Hupfeld
|
| Posted: 12/06/2004, 3:26 AM |
|
And was the solution the same?
regards
Damian Hupfeld http://www.nexthost.com.au/services.php
|
|
|
 |
klwillis
Posts: 428
|
| Posted: 12/06/2004, 1:03 PM |
|
In this case, I'll have to rebuild the entire form from scratch.
I'm sure CCS is working on this one.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
peterr
Posts: 5971
|
| Posted: 12/06/2004, 1:19 PM |
|
You shouldn't need to rebuild the form, just add or copy those events from the other page. The forms cannot be copied together with events at this time.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
klwillis
Posts: 428
|
| Posted: 12/06/2004, 4:34 PM |
|
When I re-add the events logic from the other form, the events
still do not fire correctly.
My suspicion is there is something in the HTML code that is causing
the problem, but I'm not sure what it is.
Quote peterr:
You shouldn't need to rebuild the form, just add or copy those events from the other page. The forms cannot be copied together with events at this time.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
klwillis
Posts: 428
|
| Posted: 12/06/2004, 11:04 PM |
|
You are correct. The reference to 'check_and_bind' got erased.
EVerything's working now. 
Quote peterr:
You shouldn't need to rebuild the form, just add or copy those events from the other page. The forms cannot be copied together with events at this time.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
Damian Hupfeld
|
| Posted: 12/07/2004, 4:49 AM |
|
Ahh... so it was the same issue...
"klwillis" <klwillis@forum.codecharge> wrote in message
news:541b5561931622@news.codecharge.com...
> You are correct. The reference to 'check_and_bind' got erased.
>
> EVerything's working now. 
>
> Quote peterr:
> You shouldn't need to rebuild the form, just add or copy those events from
> the
> other page. The forms cannot be copied together with events at this time.
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
klwillis
Posts: 428
|
| Posted: 12/07/2004, 9:11 AM |
|
Rule of Thumb:
Tinker with the HTML directly, and expect problems. 
Quote Damian Hupfeld:
Ahh... so it was the same issue...
"klwillis" < klwillis@forum.codecharge> wrote in message
news:541b5561931622@news.codecharge.com...
> You are correct. The reference to 'check_and_bind' got erased.
>
> EVerything's working now. 
>
> Quote peterr:
> You shouldn't need to rebuild the form, just add or copy those events from
> the
> other page. The forms cannot be copied together with events at this time.
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |