Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 62774 invoked by uid 500); 17 Jul 2003 19:35:32 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 62670 invoked from network); 17 Jul 2003 19:35:30 -0000 Received: from unknown (HELO vps1.rideware.com) (208.4.48.112) by daedalus.apache.org with SMTP; 17 Jul 2003 19:35:30 -0000 Received: from rwl1 ([206.166.206.250]) by vps1.rideware.com (8.11.6/8.11.6) with SMTP id h6HIg4J20194 for ; Thu, 17 Jul 2003 14:42:14 -0400 Reply-To: From: "Cameron B. Prince" To: Subject: RE: Fill out formular fields with embperl Date: Thu, 17 Jul 2003 14:37:14 -0500 Message-ID: <000e01c34c9a$d3fd1900$01faa8c0@rwl1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <006101c34c94$90d11c40$0101a8c0@master> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am not exactly sure of the order of execution, but I know it doesn't work like that... If you need interpolation on the form, you will have to do it inside the same block that creates it. As far as I know, there is no option to cause a page or block to be reparsed. Good luck, Cameron > -----Original Message----- > From: Harald Becker [mailto:harald.becker@webscope.de] > Sent: Thursday, July 17, 2003 1:52 PM > To: embperl@perl.apache.org > Subject: RE: Fill out formular fields with embperl > > > > I think it will do what you want if you remove the > > value="..." token from the input: > > > > > > > > If you need a default value, set it by placing a value in > > fdat above the > > input: > > > > [- $fdat{info} = 'testing'; -] > > Thank you, this works, but I've got a new problem :) > I need to declare the formular in a var and later I write it into the > document, and then Embperl does not fill out the formular... > Is there a > solution, too ? > > [- > $fdat{info} = "testing"; > > $_[0]->{formular} = ' >
> >
'; > > -] > > [+ do{ local $escmode=0; $_[0]->{formular} } +] > > Harald > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org