Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileMaker Web Viewer



> On 7/29/06 at 3:05 AM, Bruce Robertson <email@hidden> wrote:
> 
>> What is behind my request is even more esoteric. Let's say I create an
>> HTML form this way. Can I parse its contents once I start filling it
>> in?
> 
> The raw HTML tip is so useful that I feel compelled to respond.  :-)
> 
> I don't think there's any direct or easy way to do what you want.  A web
> view isn't even a field in a FileMaker Pro 8.5 database - it's just a
> layout object that displays a URL via Web Kit.  Unless you store the
> HTML yourself in a field like you hinted, there's not even anything to
> manipulate.
> 
> The new GetLayoutObjectAttribute function for calculations can return
> the current HTML content for a Web view object (when passed the
> "content" attribute - passing "source" just gets you back the URL), but
> that's about the extent of Web viewer customization that I've found.
> 
> The layout-only design is a big clue that it's designed for presentation
> more than for Web applications.  If you can generate the right HTML, it
> will display it, but I don't think there's an *external* way to interact
> with the Web view.  I think the best you'll be able to do with
> JavaScript is use it to affect the document (perhaps adding or changing
> elements that do not display) and using GetLayoutObjectAttribute to
> examine the HTML and find the results.
> 
> --Matt

But that won't return contents of any form fields that have values entered.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Re: FileMaker Web Viewer (From: Matt Deatherage <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.