Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

JohnRevoy
JohnRevoy
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
6

Discussions

Discussions
0

Questions

Questions
6

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by JohnRevoy
Customize the badges you want to showcase on your profile
Re: Schema for drop down lists (with name/value pairs) - Adobe LiveCycle 01-02-2010
... I was too quick to post the answer. One bug found:change: var roleTypeCodeType = schema.xsd::simpleType.(@name = 'RoleTypeCodeType');to: var roleTypeCodeType = schema.xsd::simpleType.(@name == 'RoleTypeCodeType');

Views

933

Likes

0

Replies

0
Re: Schema for drop down lists (with name/value pairs) - Adobe LiveCycle 01-02-2010
Hifor anyone interested in this, I am providing a working example based on previous comments.varschemas = xfa.resolveNodes('schema[*]');var xsd = Namespace('http://www.w3.org/2001/XMLSchema');for (var schemaIndex = 0; schemaIndex < schemas.length; schemaIndex++) { // each schema has a schemaId attribute if (schemas.item(schemaIndex).getAttribute('schemaId') == 'cdext') { // grab a single schema and convert to xml var schema = new XML(schemas.item(schemaIndex).saveXML('pretty').replace(/<.*>/,'')...

Views

699

Likes

0

Replies

0
modifying the Data Binding value at runtime - Adobe LiveCycle 26-01-2010
Hijust wondering if there is a programmatic way of adding or removing the Default Binding value at runtime? This is the value that is showing up on the Binding Tab of the Object Tab.thanks,John

Views

385

Likes

0

Replies

0
Re: Schema for drop down lists (with name/value pairs) - Adobe LiveCycle 21-01-2010
Hi Paul,when I click on the text or value item selections as shown in your example, I can find the enueration value (which is the three letter code eg ABC), but then the second option is simply 'NONE'. So when I select that, adobe then just puts in its own sequential numeric value, which is not quite what I want. Would there be a way to structure the xml in the schema differently so that LiveCycle sees both the name and the value?For example, a snippet of the schema I was given looks like: A...

Views

703

Likes

0

Replies

0
Re: Schema for drop down lists (with name/value pairs) - Adobe LiveCycle 21-01-2010
Hi Bruce,thanks very much for your reply. It does work well. However, I was wondering about two things.Your solution has a requirement to embed the schema into the pdf. Can I get this solution to work without embedding the schema?I have not worked with schemas too much, but I think the values for the list are not global for the schema I was given. I am attaching a schema in designer, however at the top of the schema are a couple import statements: that have the code branch for the RoleTypeCodeT...

Views

700

Likes

0

Replies

0
Schema for drop down lists (with name/value pairs) - Adobe LiveCycle 19-01-2010
Hi,I am looking for information on creating a schema type definition that LiveCycle Designer ES will accept for populating drop down lists ( populating both the name and the value). For example, I have something like: Aboriginal Community Adjudicator ... that creates a list. I can bind this to a list field. However, of course, when I preview the pdf, my pull down list items in this field are just the three letter codes. I would like to get the associated descriptions for these item...

Views

5.1K

Likes

0

Replies

8