Multiple Text Fields Linked To Single Data Calendar Source? S’abonner

0
Avatar
Legacy Poster

I would like to have 2 text fields draw from the same data calendar source in the data entry form --

 

I have Text Field A linked with Calendar A in the Data Entry Form to display the date as (YYMMdd) on the label;

and I have another Text Field B set to display Julian code (Yjjj) linked with Calendar B in the Data Entry Form. 

 

Since these two dates will always be the same -- my question is:

 

Is there a way to have a single calendar in the Data Entry Form linked to both Text Field A and Text Field B but have them display the date in different formats (one as YYMMdd and the other as Yjjj)?

 

Thanks,

David

6 commentaires

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

This is standard functionality.

 

Set field B to contain the object value of field B 

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Thanks for the help slickson!

 

Future note in case anyone reads this --

 

I found out that because I applied a "Transform - Prefix" to the text field to add the prefix "Weight: 5 lbs" whenever you input "5 lbs", the Object Value data source was not displaying correctly. I had to remove the prefix in order to allow the other text field to read the date and convert into different format.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Follow up to this question --

 

I was able to link the two text fields to the same calendar source for one template. However, this was taking the calendar and putting the date in a standard (not custom) format such as MM-dd-YYYY or MM/dd/YY, etc... on the text field.

When I try to use a "custom" format of "YYMMdd" and linking the Object Value of Text Field A to Text Field B, it will not work. It is only with standard date formats that it is able to read and translate into a different date code format such as the one I want - "Yjjj"

 

Calendar date entry --> Text field A (standard date format) --> Object Value link ---> Text field B (custom date format) = WORKS

Calendar date entry --> Text field A (custom date format) ---> Object Value link ---> Text field B (custom date format) = DOESN'T WORK

 

Do you know if there is a way to get the calendar linked to text field A (displaying a custom date format "YYMMdd") and linking that object value to text field B (and displaying another custom date format "Yjjj")?

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Still not sure how to do this in the way I wanted in the post above but I found a workaround solution to this (in case anyone else has this issue).

 

I created a text field outside of the label with any standard date format (MM/dd/YYYY) linked to the calendar control in the data entry field. Via Object Value, I linked the two text fields on the label to the text field outside of the label and had them display their respective custom date formats (Yjjj and YYMMdd) linked to the calendar control. 

 

#BOOMSHAKALAKA #BARTENDERKING 

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Still not sure how to do this in the way I wanted in the post above but I found a workaround solution to this (in case anyone else has this issue).

 

I created a text field outside of the label with any standard date format (MM/dd/YYYY) linked to the calendar control in the data entry field. Via Object Value, I linked the two text fields on the label to the text field outside of the label and had them display their respective custom date formats (Yjjj and YYMMdd) linked to the calendar control. 

 

#BOOMSHAKALAKA #BARTENDERKING 

That is exactly how I would have handled that (just make sure you set the field outside the label to not print).

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

I had the same issue with 2 Text Objects with different formatting. Only I gathered Data not from Calendar, but from Dropdown List.

My topic was posted a month ago, but still got 0 answers.

I had to figure out a workaround too. Auxiliary Text Object, invisible and non-printable did the trick, but still I have a feeling it should work with more obvious way.

Vous devez vous connecter pour laisser un commentaire.