Skip to main content
Question

Rich Text Button Question

  • April 1, 2020
  • 0 replies
  • 28 views

Hi!

I hope everyone's staying healthy out there!

I'm using a rich text button on one of my forms. This button is being used to copy information on the record from look-up fields to editable fields.  

Everything's working well except for getting hung up on any text fields. The url seems to be stopping or breaking at the space in between the person's (data's) first and last name. 

javascript:$.get('https://****/db/****act=API_EditRecord&rid=5537&_fid_1727=1000&_fid_1728=2&_fid_1749=23&_fid_1750=24&_fid_1751=25&_fid_1752=26&_fid_1796=Corynn

Field: 1796 is a text field and the field with the source info is a look-up field of a multiple-choice field in another table. 

Text fields seem to be the only one giving me trouble. 

I've tried both using and not using ToText() around the source field with no luck. 
& "&_fid_1796=" & ToText([Property - Assistant Leasing Manager])


------------------------------
Chris
------------------------------
This topic has been closed for replies.

AdamKeever1
Forum|alt.badge.img+2
  • Registered
  • April 1, 2020
Try wrapping it in a URLEncode().

------------------------------
Adam Keever
------------------------------