Jump to content

INSERT row


Cyto

Recommended Posts

Hey, who can help?

 

Example:

I want to insert a row with a input and a select option. I am inserting now with select option, but i want to insert with a input too, because if i need to insert a link instead of choosing from select option.

---------

(puts a link)Link: ...link...

(chooses nothing)Select: Choose one...

Submit

---------

I need something like if LINK is filled insert it. Nothing happens to SELECT, but they have to have the same row names.

Hope its clear enough. ;)

 

Cheers

Link to comment
Share on other sites

OK, I think I understand what you want now. When you validate the form, just check that the two fields don't both have a value when the form is submitted. If both fields have a value, notify the user to pick one from the select list, or enter a link, but not both.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.