Crocoblock / jetformbuilder

80 stars 16 forks source link

Allow to append custom options to end of the query, eg "other" #313

Open rtpHarry opened 1 year ago

rtpHarry commented 1 year ago

I have a list of Job Vacancies bound to the drop down list.

It was working nicely from the Fill Options From "Posts" > "Vacancies" set up:

image

Until the client said "and add an Other option at the end, then conditionally show a textbox to take that value".

I've been working on this for an hour now trying to find a way to do it. I have a plan, which I will post here if it works, but it is far from simple.

Being able to append manual values to the start / end of the list would have made this a 5 minute job.

rtpHarry commented 1 year ago

To do this via code you can do it using techniques described here:

https://github.com/Crocoblock/jetformbuilder/issues/314#issuecomment-1614253084

I will leave it to crocoblock to decide if it deserves being added as a UI option, or close it.