• Resolved kambusha

    (@kambusha)


    Hi,

    Q about “Form Editor”: there’s a field called “options” and I’m struggling to figure out how to use it. I want to add a placeholder text to an input field and can see that if I put a value in the options field, sometimes it shows up within the input field in the html, but I’ve tried several combinations and can’t figure out how to add a placeholder text. Any general guidance on how to use the “Options” field and specifically for placeholder text?

    Thanks,
    Patrick

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author brilliantplugins

    (@brilliantplugins)

    The options field is only used by a few field types and for placeholder text.

    Yes, I know the UI could be more clear but it’s a holdover from past versions.

    If Placeholders is chosen for Label Location, the following fields will use the options field text as the placeholder:

    text, email, textarea

    Which field(s) are you trying to use placeholder text with?

    Thread Starter kambusha

    (@kambusha)

    Ah, I see.

    Yeah, I was looking through the code trying to understand how opts is used and then saw the “label locations = placeholders” option, so I ended up using that instead (i.e. label = “placeholder text”), and then adding a separate text box above the input as the “label”.

    Originally what I was trying to do was have a label as well as placeholder text, something like:
    label = “Email:”
    placeholder = “[email protected]

    Appreciate the quick response!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Form Editor > Options (placeholder)’ is closed to new replies.