Skip Navigation

[Resolved] Creating a multiple choice 'heading' option for a section on a form

This support ticket is created 4 years, 1 month 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 4 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1800925
showing the optional profile section.jpg
showing when you click the heading the multiple choice options.jpg

Tell us what you are trying to do?
On the post form 'therapist profile' where the user will create their therapy profile (membership profile seen by the public) most of the sections will have fixed headings for the 'free text section' or 'WYSIWYG' section ... e.g. 'Your Therapy Practice Name' or 'Who you work with' or 'About your form of therapy'

However I want to give the therapist some freedom to 'create' a heading for a free text section which migh be about anything ... 'Why I love being a therapist' or 'Ways I think therapy can help you' or 'The Duration & Frequency of Therapy'

I want the individual therapist to have 'some' freedom to choose the heading for themselves. This might even be a 'repeating field section where they could add two or more headings and paragraphs on their profile.

Can you suggest a way I can give this multi choice option to allow a 'heading' to be inserted onto the profile and of course the relevant text below it.

I have attached an image of something similar on the american site 'Good Therapy'

Is there any documentation that you are following?
No

Is there a similar example that we can see?
Yes in the image below

What is the link to your site?
The registration page can be viewed here

hidden link

#1801451

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - you want to allow user they should create a heading from existing options from where they just require to select from existing options you present or you want that user can create the heading text manually.

So, for instance lets consider you allow user to manually add the heading name, there should be the another WYSIWYG field as well that should store the related heading value - correct?

#1801473

Good Morning Minesh

Yes that's correct.

But I want to only give a list of pre defined set headings (if possible) so I control the options to a degree ... I don't want them to start writing a heading that is undrelated to the website (therapy) so I think it would be god to give them say 10 options

Under the heading they would then have a WYSIWYG text box for them to use for the content that will follow the heading.

If it isn't possible to offer the 'multiple choice' heading option ... then I suppose I could just put in a single text field that would appear as a Heading (perhaps limiting the number of characters so that the heading can only be a certain length)

Regards

Brian

#1801559

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

But I want to only give a list of pre defined set headings (if possible) so I control the options to a degree ... I don't want them to start writing a heading that is undrelated to the website (therapy) so I think it would be god to give them say 10 options
==>
You can configure the list of heading by adding the custom select field group and add the different headings as select options. But then you will have only one heading that is selected by user and one text box that contains the information about that heading.

If it isn't possible to offer the 'multiple choice' heading option ... then I suppose I could just put in a single text field that would appear as a Heading (perhaps limiting the number of characters so that the heading can only be a certain length)
==>
For multiple choice, there is no option to group heading and its associated WYSIWYG text box. To have multiple choice, you will require to create a repeating field group that should have two fields heading text and its associated WYSIWYG text box.

But, then you will require to create another post for to add new entry for Repeating field group you create. so basically, the flow would be that you can add a "Add New Heading" link that will redirect user on another page where they ad add the new entry for the new heading one by one.

Please check the following doc:
=> https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups/