Skip Navigation

[Resolved] Display a multiple instance text field as select

This thread is resolved. Here is a description of the problem and solution.

Problem:

Using Views result as data provider for Toolset form generic field.

Solution:

You can edit that view, in section "Loop Editor", enable option "Disable the wrapping DIV around the View".

It is required to remove all those extra HTML tags produced by shortcode:
[wpv-layout-start] ... [/wpv-layout-start]

Relevant Documentation:

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by domenicoS 5 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1147441

Hi Luo,

need help with a previeus ticket: https://toolset.com/forums/topic/display-a-multiple-instance-text-field-as-radio-field-in-the-post-form/#post-1130563
I've accidentally delate a view.

I've try to build a new one (ID: 31340) following your instruction but does not works

I don't see the room as option of the select.

Can you help me?

#1147756

Hi domenicoS,

Thanks for the details, I can get your website in previous post:
https://toolset.com/forums/topic/assign-repeatable-field-to-author-via-frontend/#post-1147035

The problem is in view "NOTOUCH - list child Camere post Room Name as JSON format":
hidden link

In section "Loop Editor", you need to enable option "Disable the wrapping DIV around the View" .

Since in this case, we are using Views result as data provider for Toolset form generic field, it is required to remove all those extra HTML tags produced by shortcode:
[wpv-layout-start] ... [/wpv-layout-start]

Those HTML tags are required for custom search form and AJAX pagination, in this case, we don't need it.

#1147908

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.