daniel Posted October 28, 2015 Share Posted October 28, 2015 (edited) Is there a way to make a user button in Marcom that will justify text to top middle or bottom of a frame? Edited October 28, 2015 by daniel Link to comment Share on other sites More sharing options...
FreightTrain Posted October 29, 2015 Share Posted October 29, 2015 daniel, You can add a format control for the frame via OnRecordStart, then using either a radio button or a drop-down list in the form, you can let the user select the alignment. First off, you need a field for the "Align" options (top, center or bottom). Then you also need to name your variable frame in FP. Next insert the text value into the frame. Finally you create your OnRecordStart rule as follows: var frame1 = FindTextFrame("Text Box A"); frame1.verticalAlignment = Field("Align"); In template setup, create your list for the Align field and voila! Hope this helps Link to comment Share on other sites More sharing options...
daniel Posted October 30, 2015 Author Share Posted October 30, 2015 thanks. what is a OnRecordStart? Link to comment Share on other sites More sharing options...
Dan Korn Posted October 30, 2015 Share Posted October 30, 2015 thanks. what is a OnRecordStart? It's a rule in your FusionPro template. Your question isn't really specific to MarcomCentral, other than that you have some kind of entry form on the web where a user enters the top, center, or bottom value, instead of simply providing such a data value in the input file in FusionPro VDP Creator. Link to comment Share on other sites More sharing options...
daniel Posted November 16, 2015 Author Share Posted November 16, 2015 Got it, thanks. that worked. Link to comment Share on other sites More sharing options...
Recommended Posts