ddhull Posted March 23, 2005 Posted March 23, 2005 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
Martin Brändle Posted March 23, 2005 Posted March 23, 2005 Either turn UBB of, or use < for < (see this thread ). Here a description of <textarea>, unfortunately in german, but you could send it through babelfish translation. Martin
beverly Posted March 24, 2005 Posted March 24, 2005 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_|
ddhull Posted March 24, 2005 Author Posted March 24, 2005 Thanks Beverly, actually this works just fine only using: <textarea name="BriefDesc" cols="60" rows="5"></textarea> 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
beverly Posted March 25, 2005 Posted March 25, 2005 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).
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now