bhavasambhava
Forum Replies Created
-
I think checkbox with
exclusive
is what I needed.Thank you very much~
- This reply was modified 4 years, 5 months ago by bhavasambhava.
Forum: Plugins
In reply to: [Contact Form 7] Can’t change the value of a checkbox to other than the labelBy the way this issue is NOT resolved, I was asking about changing the HTML being displayed on the page, not about post-processing the form.
Forum: Plugins
In reply to: [Contact Form 7] Can’t change the value of a checkbox to other than the labelI understand, but pipes are not what I need. Is there no way to add a custom value to a checkbox and have it displayed on the html directly? This pipe functionality only replaces the value when the email is processed, which is not what I need. I want to use Javascript to send the form to a separate endpoint which expects integers, not strings.
So I guess the answer to my question is “No, ContactForm7 will force the checkbox value to be the same string you add as the checkbox label”. Right?
PS: Since I’m not a wordpress regular user, let’s say I wanted to change the logic of the methods where labels are being parsed and converted into HTML, where would I find this code? I will check the source code files but if you can point to one specific location that would make my life much easier ??
- This reply was modified 4 years, 5 months ago by bhavasambhava.
Forum: Fixing WordPress
In reply to: How do I add a link to the button in a Hero blockI figured it own on my own. It was easier than I thought.
Turns out, there is no link settings to the action buttons, it’s all visuals. I needed to add a manual link on the text that I was adding inside the button:
https://youdieifyou.work/files/mpntuuoswrz.png
Problem solved then
Forum: Fixing WordPress
In reply to: How do I add a link to the button in a Hero blockSo shocked to see that this support forum doesn’t allow embedded images. Anyway. Here’s my block:
https://youdieifyou.work/files/zklbplqfuh.pngThe available settings in the block settings sidebar are: Hero Settings, Color Settings, Background Settings, Advanced. None of those sections include settings for the button.
When I click the button, I get some block settings, and the Link Settings only shows:
https://youdieifyou.work/files/mwfxgfyycbec.pngI’m puzzled. Shouldn’t it be really easy to change the link on a button? I added more buttons, thinking perhaps the first one had some default link settings. Nope, none of the buttons shows me an option to change the link in the button settings.
Where, where do I change this?