Hi,
My pdf form has many text fields with borders. One of the fields has a dropdown click calender date extension, and its border wont hide when printed. The others all work with the preprint* formcalc event as follows:
ui.textEdit.border.edge.presence = "hidden";
any suggestions on how to remove the date fields border?
Thanks,
Daniel
Solved! Go to Solution.
Views
Replies
Total Likes
Sorry, I thought you wanted to change it dynamically. Yes the Appearance dropdown in the Field Tab assigns the borderStyle/fillStyle around the field itself--the Border Pallet assigns the borderStyle/fillStyle around the whole object (field AND caption).
Views
Replies
Total Likes
Hi,
In thethere are 2 types of borders that can be applied--One for the field with caption (in the Border Tab) and one for just the field itself (in the Object/Appearence setting). The second one is the <ui> and I believe the <ui> is a different syntax for dropdowns.
Examining the XML it looks like the correct <ui> script "might" be:
this.ui.choiceList.border.edge.presence = "hidden";
The other border would require a different script which "might" be:.
this.border.edge.presence = "hidden";
These might not be correct--it's my best guess after looking at the XML for a dropdown list.
Good luck!
Stephen
Thanks for the help, but I'm sorry i think i phrased my question wrong. The list isn't a dropdown, its still just a text field (labeled "evaluation date"), but with mm/dd/year calender that opens up (DateTimeField) when the date field is clicked. sorry for the confusion :/
-Daniel
Views
Replies
Total Likes
bump! still tryna resolve this problem :/
Thanks,
Daniel
Views
Replies
Total Likes
Hi,
I don't have time to test--however, I think the answer is:
this.ui.dateTimeEdit.border.presence = "hidden";
goodluck!
Stephen
actually i figured it out and it was super simple! The "appearance" menu was set to sunken box
and all i had to do was select none and it dissapeared. Thanks for all the help !
-Daniel
Views
Replies
Total Likes
Sorry, I thought you wanted to change it dynamically. Yes the Appearance dropdown in the Field Tab assigns the borderStyle/fillStyle around the field itself--the Border Pallet assigns the borderStyle/fillStyle around the whole object (field AND caption).
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies