Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® VDP Creator

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 30th, 2011, 09:08 AM
BuffaloPrintingCo BuffaloPrintingCo is offline
Junior Community Member
 
Join Date: Sep 2011
Location: Kenmore, NY, USA
Posts: 11
Post expand text boxes or offer text area?

I use Fusion Pro to link with a third party online store app. When i preview my created file from Acrobat the text boxes are very narrow and often, the date I enter for testing expands past the end so it makes it hard to check my entries.

Is there any way to expand the width of the text boxes or to offer a text area so the user can see more of what they entered?
__________________
Joe Farage Jr.
IT Manager
Buffalo Printing Co.

JoeJr@BuffaloPrinting.com
Reply With Quote
  #2  
Old September 30th, 2011, 01:05 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,332
Default Re: expand text boxes or offer text area?

You could turn on Copyfitting to make the text shrink down to fit. Or you could use an Overflow page. It depends on how you want to handle it in the output.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #3  
Old September 30th, 2011, 01:19 PM
BuffaloPrintingCo BuffaloPrintingCo is offline
Junior Community Member
 
Join Date: Sep 2011
Location: Kenmore, NY, USA
Posts: 11
Default Re: expand text boxes or offer text area?

That's not the problem. The text fits in the output file fine. It's when I Preview the HTML form that's the issue. The preview is what I see when I go to enter the information online and the text boxes are too small.
So after I enter the information I want to show up on the product, I can't just look at the text box because it only holds about 18 characters in it. To see the rest of the entered information, I need to click the text box and arrow over.
__________________
Joe Farage Jr.
IT Manager
Buffalo Printing Co.

JoeJr@BuffaloPrinting.com
Reply With Quote
  #4  
Old September 30th, 2011, 02:10 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,332
Default Re: expand text boxes or offer text area?

Quote:
Originally Posted by BuffaloPrintingCo View Post
That's not the problem. The text fits in the output file fine. It's when I Preview the HTML form that's the issue. The preview is what I see when I go to enter the information online and the text boxes are too small.
So after I enter the information I want to show up on the product, I can't just look at the text box because it only holds about 18 characters in it. To see the rest of the entered information, I need to click the text box and arrow over.
Oh, I see, I didn't get that you were talking about the HTML Form Preview. I'm still not sure I completely understand the issue, though. Don't you see the data as you're typing it in? Or are you somehow auto-populating the form fields?

Remember that the sample form you see when you click the Preview Form button is just that: a sample. The idea is that some Web-to-Print app would create its own input web form based on the XML file generated by the HTML Form Definition (Web DataCollect) dialog. As the preview form itself states at the bottom, "Sample navigation controls and formatting are shown as an example of how this form will look in a complete website. Exact appearance will vary based on the settings of the web server."

That said, the sample/preview form is generated via an XSL transformation (actually two transformations) of the XML file to HTML using the XSL files found in the WebCollect folder ("C:\Program Files\Printable\FusionPro\WebCollect" by default on Windows). So, you (or a web application) can modify these files to change the appearance of the form by modifying these XSL files, or substituting your own.

Specifically, you can add this at line 80 of the DLWebCollect.xsl file, after the <INPUT type="text"> tag:
Code:
<xsl:attribute name="size">100</xsl:attribute>
This will make the text input boxes for standard single-line input fields 100 pixels wide, which is a lot wider than the default. Or you can use a different number. You may also need to add similar code to other places in the XSL file for other field types.

CAVEAT: Change these files at your own risk. It's very easy to render the preview form, or other parts of the system, completely inoperable. Please back up the DLWebCollect.xsl file, or any other files in the FusionPro installation, before making changes. PTI is not responsible for any errors, confusion, hair loss, or computer explosions resulting from hacking these files.

P.S. Although if you really have that much data to enter, then instead of hacking the XSL files, you might consider just setting the field type to Multi-line in the Web DataCollect dialog, which will give you a multi-line input box, which is resizable in many web browsers (at least in Firefox).
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #5  
Old October 3rd, 2011, 06:40 AM
BuffaloPrintingCo BuffaloPrintingCo is offline
Junior Community Member
 
Join Date: Sep 2011
Location: Kenmore, NY, USA
Posts: 11
Default Re: expand text boxes or offer text area?

That changed the preview and i was able to tweak the number to get it to the size i want but it didn't change the final view in my web-to-print application so it must be something about how that third party reads those files.

Thanks Dan
__________________
Joe Farage Jr.
IT Manager
Buffalo Printing Co.

JoeJr@BuffaloPrinting.com
Reply With Quote
  #6  
Old October 3rd, 2011, 09:29 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,332
Default Re: expand text boxes or offer text area?

Quote:
Originally Posted by BuffaloPrintingCo View Post
That changed the preview and i was able to tweak the number to get it to the size i want but it didn't change the final view in my web-to-print application so it must be something about how that third party reads those files.
Yes, it's completely up to the web application to decide how it interprets the XML file and displays a user input from.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
Reply

Tags
acrobat, area, boxes, preview, text

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.