Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Changing input to Textarea from FMSite Assistant XSLT generated file


This topic is 5838 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Dear All,

I have used the XSLT Site assistant to generate a site based on a flat file. The only problem was that I had some rather large text fields whilst the site generateor produces pages with single line input. To rectify this, I went into dreamweaver and changed the input tags to the textarea tags. As soon as I have done this, whenever I try and edit a record, it does not display the contents that are in the database. When I change the tags back to input, whhen I try and edit a record it works fine. Can someone advise please.

Kindest regards

Jalz

//FMSITE GENERATED CODE


FIX()

//MY ALTERED CODE WHICH DOES NOT WORK


FIX()

Posted

IIRC, the TEXTAREA element doesn't have a 'value' attribute. To assign an initial value to a TEXTAREA, you must place it in the element itself, something like:


...



FIX()





...

Posted

Thank you comment that works superbly.

Any ideas how I can "prettyfy" the layouts generated. PHP supports external CSS, is it the same with XSLT?

Posted

I don't know - why not try and see? If not, you should be able at least to embed an internal CSS stylesheet (or use individual inline styles) in the HTML produced by your XSLT stylesheet.

http://htmlhelp.com/reference/css/style-html.html

This topic is 5838 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.