Avatar of Coast Line
Coast Line
Flag for Canada asked on

using placeholders where value is empty

I am using the form where in a situation i have to use place holder or title to insert the value in the database, i know we can use

$form.serialize which picks all the values of the form, but in my case value field is always going to be empty and i want to pick placeholders value and title value if placeholder is not defined just like serialization,

is there custom build jquery code or something already build in, how can i can use it just like $(form).serializePlaceholder or $(form).serializetITLE
jQueryJavaScriptJScript

Avatar of undefined
Last Comment
Coast Line

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Julian Hansen

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Coast Line

ASKER
i will check it
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck