Text Box with Default Values - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Text Box with Default Values

Last post 12-14-2006 07:23 AM by Matt Faus. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 12-12-2006 07:23 AM

    Text Box with Default Values

    I'm having a serious lapse in logic. I need to create a form that is a questionnaire. The question text itself needs to be saved as data elements in the form. The questions can be an entire paragraph. How do you do that? I created an XHTML field and set its default value to the question text, but that is very cumbersome from "default value" in the field's properties as this is a single line field that you have to scroll from left to right. Is there another way to do this?
  • 12-12-2006 08:36 AM In reply to

    • Stavi
    • Top 100 Contributor
    • Joined on 12-13-2005
    • Posts 95

    Re: Text Box with Default Values

    The 'display' tab in the properties of text boxs has options to allow paragraph breaks and to control how the box expands or scrolls

    I have never used XHMTL fields before but I guess they work similar
  • 12-12-2006 08:38 AM In reply to

    Re: Text Box with Default Values

    They are questions the users must answer. The question text itself has to be a non-editable data value so it gets submitted with the form. The automatic sizing you're talking about has to do with form fill-out. I'm talking about form design.
  • 12-14-2006 02:42 AM In reply to

    • Stavi
    • Top 100 Contributor
    • Joined on 12-13-2005
    • Posts 95

    Re: Text Box with Default Values

    You lost me

    I dont see what difference fill in/design mode will make
  • 12-14-2006 07:23 AM In reply to

    Re: Text Box with Default Values

    Hey Deb,

    You can edit the template.xml file directly if you extract the form files. Try this:

    1. Select Extract Form Files from the File menu
    2. Select a folder and extract them
    3. Browse to that folder
    4. Double-click template.xml to open it in InfoPath
    5. Make your edits to the question fields using normal InfoPath UI.
    6. Save the template.xml, right-click manifest.xsf and select Design, publish the form somewhere to package it back as an XSN.

    Hope this helps!
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.