Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Time message

Avatar

Former Community Member

Hi There,  I would like to know if it is possible to somehow be able to retrieve the time from a users machine onto a  specific field in a PDF and set a message to appear if the time is greater then 15:00hrs.  If this is possible, how would I go about doing it??  Thanks  Joey

1 Reply

Avatar

Former Community Member

Sorted

Answer

if
(root.P1.client.variable_option_client.DateTimeField1.$.rawValue > "3:00pm")

then

xfa.host.messageBox("Beacuse it is after 15:00hrs, please inform the client that they are likely to be called on the next working day.")

endif

Thanks

Joey