|
|
Rank: Enthusiast
Joined: 1/28/2008 Posts: 35
|
Does anyone know how to pre fill in a field with a Variable in xslt ?
Basically I want to put a username from members in, say I already have made it a variable $MemberName and then not let them edit it so it appears on the new document as MemberName.
Cheers
Rob
(Also I have nearly created a lite Forum using Doc2Form how do I package it all up so others can use it ?)
|
|
Rank: Fanatic
Joined: 3/15/2007 Posts: 378 Location: Cary, NC USA
|
Casey will probably chime in with the correct info but if I had to guess I would say try passing [#MemberName] in as the value... not sure if this is right or not...
|
|
Rank: Enthusiast
Joined: 1/28/2008 Posts: 35
|
Hmm now I look at it it's perhaps more difficult than I thought. Even if I could Pass the variable... I wouldn't know how to make it go in the right field.
I think I'll experiment a little.
Any one else have success using doc2form, I've used it perfectly for an eMail form but struggling here.
Rob
|
|
Rank: Enthusiast
Joined: 1/28/2008 Posts: 35
|
I got it the Doc2Form can store the current member id in a data alias, so just make a text datatype called memberId pop that in the SaveMemberAlias="memberId" and in it goes.
Cheers
Rob
|
|
|
Guest |