Text Field - How to Show="First" When Pulling Name Field via Lookup Up?

By: Chris Titus | Asked: 11/25/2023
ForumsCategory: General questionsText Field - How to Show="First" When Pulling Name Field via Lookup Up?
Chris Titus asked 5 months ago
I have a text field that is using Advanced > Lookup to pull in a name field from another form based upon the entry ID.  I need to display the first name, however, show="first" does not work for the text field.  I can't pull only the first name into this text field either. How might I accomplish this?
Chris Titus replied 5 months ago

I solved this using javascript

Rob LeVineRob LeVine replied 5 months ago

That's what I was going to suggest as well. It's one line to perform the extraction of the first name and 5 or so lines of standard infrastructure.

2 Answers
Brian Thornton answered 4 months ago
have you found a solution without using JS?  I have not been successful with these instructions.  How to use name fields in WordPress forms - Formidable Forms
Rob LeVineRob LeVine answered 4 months ago
I don't know if this helps either of you, however, the Dec 12 release of Formidable Form 6.7 has the following enhancement: "New: Name fields now work in text calculations, including support for show=first and show=last options."

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community