Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Changing input to Textarea from FMSite Assistant XSLT generated file

Featured Replies

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()

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()





...

  • Author

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?

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.