Log in
IBM Notes and Domino 9.0 Social Edition Forum
All Forums
All Wikis
All Documents
Main Topics
By Most Recent
By Author
By Category
By Platform
By Release
▼
By Role
Administrator
Developer
End User
By Tag
My Topics
Resolved Topics
Unresolved Topics
Author Cloud
Alex Zimarev
Barry Shapiro
Bob McGrath
Bradley Ineichen
Brandon M Kutsch
Carl Tyler
Chad Scott
D Porter
Dave Kern
Doug Finner
Howard D Greenberg
Irina Khasin
Jay Marme
Jean-Pierre Bloch
Jenifer P. Kidder
Jochen Sack
John Paganetti
Mark Taylor
Michael Blumentritt
Mike Woolsey
Okio OL Luna
Pam Assivero
Rob Berendt
Rodrigo San Vicente
Wongo Wongo
New Topic
Share
▼
Subscribe
▼
Reply
Bob McGrath
Dec 15, 2016, 4:57 PM
82 Posts
Proceed with caution and no guarantees ...
Category:
Domino Designer
Platform:
Windows
Release:
9.0.1
Role:
Developer
Tags:
onchange
Replies:
2
Corruption is nasty and many times you cannot recover from it. If you already looked at something like this:
http://lotusibm.com/database-corruption-and-troubleshooting/
and it has not helped. And you've already got a backup of the app in case you break something else. Copy the problem form into a brand new db, Open that db in designer. Right click on the corrupt form in the Forms list in the database bookmark panel (ie, on the far left where you see all the db elements) and from the context menu choose 'Edit with DXL' (the prompt that says 'Editing DXL of design element can cause loss of information' is not lying). When the Form opens click the Source tab towards the bottom (you will see a Design tab and a Source tab). You will see things like:
field type='text' kind='editable' name='z'>
<code event='onchange'><lotusscript
>Sub Onchange(Source As Field)
Print "bob"
End Sub
</lotusscript></code>
</field>
and/or
<field type='text' kind='editable' name='a'>
<code event='onChange'
for='client'><javascript>alert('test')</javascript></code>
</field>
The Edit menu at the top has a Find/Replace selection that just might be your friend. Good luck!
New Topic
Share
▼
Subscribe
▼
Reply
Go elsewhere
Resources
Lotus Suport
About
All forums
All wikis
IBM developerWorks
IBM SocialBiz UX Blog
Forum use and etiquette
Native Notes Access
Web site feedback
Forgot your password?
Forgot your user name?
Create new registration
Update registration / password
Lotus Support
Browse technotes by product category
Product documentation
Upgrade Central
About IBM
Privacy