Go Back   MarcomCentral (PTI) and FusionPro User Communities > Search Forums

Notices

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: ThomasLewis
Forum: The JavaScript Library January 18th, 2018, 12:09 PM
Replies: 11
Views: 29,451
Posted By ThomasLewis
Re: Determine if a text frame exists

With the previous way I was trying to do this, where the only javascript in the entire template was the Load function, no errors appear at all at save and validation only would result in a "null"...
Forum: The JavaScript Library January 17th, 2018, 05:27 PM
Replies: 11
Views: 29,451
Posted By ThomasLewis
Re: Determine if a text frame exists

Adding that extra function call directly to OnRecordStart did the trick. It's working perfectly now. It's just a matter of updating all the templates to include that extra line. Thanks so much for...
Forum: The JavaScript Library January 17th, 2018, 04:01 PM
Replies: 11
Views: 29,451
Posted By ThomasLewis
Re: Determine if a text frame exists

Attached is my template with the external JS file. When you open OnRecordStart and click validate, it returns "null". If I paste the code from the JS file directly into OnRecordStart, it returns the...
Forum: The JavaScript Library January 17th, 2018, 11:50 AM
Replies: 11
Views: 29,451
Posted By ThomasLewis
Re: Determine if a text frame exists

Those examples were all very helpful.

I'll try to explain where the issue is. I have a series of templates that all use very similar javascript for the OnRecordStart callback but also require the...
Forum: The JavaScript Library January 12th, 2018, 12:26 PM
Replies: 11
Views: 29,451
Posted By ThomasLewis
Re: Determine if a text frame exists

Sorry to pull up such an old post but I was unable to find anything similar. I'm running into the same issue where I need to check if a frame exists in validation.

Using the Try/Catch method still...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -7. The time now is 06:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.