I had a question about custom-inputs and pre-fill ...
# developers
o
I had a question about custom-inputs and pre-fill with the react library. Where can I find what the custom name is to pre-fill the value? I created a custom-input “Phonenumber” and I have been trying to add “Phonenumber” to the config object but it doesn’t seem to work?
p
@Hariom Balhara
o
I tried doing the following but no luck
Copy code
<Cal
          calLink={<TEAM_LINK>}
          config={{
            name: name,
            Phonenumber: phoneNumber
          }}
        />
and (this was the custom id for the input I found from right clicking the form
Copy code
<Cal
          calLink={<TEAM_LINK>}
          config={{
            name: name,
            custom_5081: phoneNumber
          }}
        />
and
Copy code
<Cal
          calLink={<TEAM_LINK>}
          config={{
            name: name,
            'Phonenumber': phoneNumber
          }}
        />
s
@Hariom Balhara also struggling with this issue
h
I don't think prefill is supported with custom inputs. Embed relies on existing prefill feature.
t
Just thought I'd jump in and say I'd also love to see this supported. Phone number specifically as I want to use Cal.com workflows to send SMS reminders but I don't want to ask the user for their phone number when booking as I already have it
o
@Team Hamlet I found a way around you can end up passing it in the metadata / that is the work around