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

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

Recommended Posts

Posted

I apologize for not knowing how to post actual code? I tried using the instant ubb code of code but no go. So if you would like to tell me how to place actual code in my post that would be great as well.

I am trying to put a textarea field in my xsl page so a person can type info that will then go into my fm 7 database. I have my input text fields working fine but am not sure of the syntax for a textarea field.

So if you could bare with me and think of M being < and W being > the following would be a regular input text field created by site assistant.

Minput size="50" type="text"W

Mxsl:attribute name="name"WBriefDesc(Mxsl:value-of select="position()"/W)M/xsl:attributeW

M/inputW

Don't know the syntax for textarea though?

Thanks for any help,

Doug

Posted

Instead of the INPUT html element, use the TEXTAREA element. There is a start and end tag. The *content* appears between these and is not an attribute:

|_textarea rows="" cols=""_| |_xsl:value-of select="path to your field" /_| |_/textarea_|

Posted

Thanks Beverly, actually this works just fine only using:

&lttextarea name="BriefDesc" cols="60" rows="5"&gt&lt/textarea&gt

without including:

xsl:value-of select="path to your field"

Should this be the case? It displays the value on my next page and enters it in my database.

Just wondering?

Thanks again,

Doug

Posted

My example shows an "edit" field. The contents is inserted for editing, probably from a -find query and the submit is -edit. You just use it for entry/creation (-new) and you are correct -- you do not need to supply the contents of the field (xsl:value-of).

This topic is 7184 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.