Re: FileMaker Web Viewer
Re: FileMaker Web Viewer
- Subject: Re: FileMaker Web Viewer
- From: Bruce Robertson <email@hidden>
- Date: Sat, 29 Jul 2006 08:29:15 -0700
> 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:
This email sent to email@hidden