![](http://content.invisioncic.com/a324853/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
RCardinale
-
Posts
14 -
Joined
Posts posted by RCardinale
-
-
I'm so sorry. I really messed that up.
if(Field("Manual Title")== "")
return Field("Title")
else
return Field("Manual Title");
Second part:
if(Field("Title")== "None")
return ""
else
return Field("Title");
-
I am creating a title field that has two routines. The first is:
if(Field("Manual Title")== "")
return ""
else
return Field("Title");
The second part to this is:
if(Field("Title")== "None")
return ""
else
return Field("Title");
Each works fine individually. How do I combine them so that the 'Manual Title field' is checked first, and then if the 'Title field' is defaulted to, it is checked for the word 'None'?
-
That worked. Thank you for all of your help. I really like this array variable. I will use it a lot in the future.
Thanks again.
-
Sorry, I mis-understood. Here is the zip file. I tried making the line longer with no success. Thank you for helping me.
-
Yes. The frame is Rec DOB. The different entries are just coming from the csv.
-
ok, here is an output file. First pages, second line The end is moving with the variable text.
This is what I have written:
var content = Field("D.O.B.");
var font = "ITC Avant Garde Std ELt Cn";
var pointSize = 8;
var frameName = "Rec DOB";
var line = ": ___________________________________";
return CopyfitLine(content, line, font, pointSize, FindTextFrame(frameName) .getsettableTextWidth() / 100.0, 2, true);
Thank you for your assistance.
-
Ok. Success. Fixed the Frame name and get the appropriate data. However, I still am left with my original issue. I need the end of the line to be in the same place, no matter what the variable text is. IE
Recipient D.O.B: __________________.
Recipient Maiden Name: ____________.
Is there a way to do that? Maybe a calculation of some sort?
-
Ha. I typed to fast for my own good. The e was there, but I had a Cap F for frameName. Now I get error 'line 3113:Error:In FindFrame(), no frame named"RecipientDOB"
-
Please forgive me, I'm new to this. How do I 'name the text frame', and where would I do that?
I wrote:
var content = Field("D.O.B.");
var font = "ITCAvant Garde Std XLt Cn";
var pointSize = 8;
var frameName = "RecipientDOB";
var line = "________________";
return Copyfitline(content, line, font, poinSize, FindTextFram(frameName) .GetSettableTextWidth() / 100.0, 2, true;
It comes back with an error 'FrameName is not defined.'
-
I created a line that reads:
Recipient "variable data" ________________________________________.
How can I make the beginning of the line adjust to whatever size the variable data is? Is this possible?
-
Thanks Dan, that worked perfectly.
-
Sorry, I'm using the 'Define HTML Form' I have created a dropdown list. I am using WebCRD for user access to the form. The user wants to be able to manually type in a 'Title' on the webpage as well as pick from the dropdown list.
-
Is it possible the create a drop down list and still have the user be able to enter text in manually as an option?
Creating a sub routine.
in FusionPro® VDP Creator
Posted