Output a previous (page) fields value as part of the customized html of a following page.

By: chris roth | Asked: 11/27/2023
ForumsCategory: General questionsOutput a previous (page) fields value as part of the customized html of a following page.
chris roth asked 5 months ago
I am trying to output the value selected from a drop down (page 2 of multipage) on a subsequent page (page 3) using the customize html area of a page 3 field. I am using the short code below inside the field's customize html area where 1181 is the field ID of the page 2 dropdown. [frm-field-value field_id=1181] Nothing is being output. Ideas?  
1 Answers
Victor Font answered 5 months ago
You're using frm-field-value incorrectly. The purpose of this shortcode is to retrieve a value from a previously saved entry, not an unsubmitted entry like you are doing. A multi-page form is not submitted until the final submit button is clicked. Formidable's KnowledgeBase documentation for frm-field-value says, "If you do not include one of the user_id, entry, or ip parameters, this will retrieve the most recent entry submitted by any user"
Victor Font replied 5 months ago

The right way to do this is either use the dropdown value as the default value in the second field, or use jQuery. See: https://formidableforms.com/knowledgebase/using-dynamic-default-values-in-fields/

Victor Font replied 5 months ago

Since your design uses an HTML field as the second field, you'd be better off using jQuery.

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