Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Populate hidden value in a form for submission

Avatar

Avatar
Validate 1
Level 1
andreal38045380
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
andreal38045380
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
andreal38045380
Level 1

20-06-2018

Hi everyone,

I am building a Web Application with Adobe Campaign to update user records based on the email of a user. (So email act as the primary key)

I passed the email to the url in an email and I got the value of the <input> field for email prefilled in the form for users to update their data using JS.

However, the value could not be passed to the database after clicking the submit button unless I manually enter the value in the <input> box again.

Is there any way to enable me to pass the value of a prefilled <input> field to the form submission so that I can update a user's record based on their email?

I confirm the defaultValue and value in the input tags are prefilled correctly.

Also, as I am not using the Information Services for subscription due to some reasons, does it mean that I cannot use the "Update" option in the Storage? I keep getting errors on this and I can only use "Insert or Update", which keeps generating new records if email is empty(not passed to the Storage)...

Replies

Avatar

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
pablo_rosero1
Level 10

27-11-2018

Hi Andrea,

You should have the prefilled values in a field in the form code normally, and perhaps just hide the field with CSS?

I hope this helps!

All the best,

Pablo