Jump to content
  • 0

What is the Parameter to Have the checkbox in the field get checked


Question

Hi I have a multi-page forms

form1 - 

after completion

I need to send a hidden parameter to a field called "Registration1_Complete".

The field is a Yes/No field.

 

In the form i have a hidden field which hen submission completes needs to "Check" the field in the database

 

I have tried various parameters in the On Exit to get teh database filed checked .

like [@YES] , [@TRUE]

 

Nothing seemd to work.

Whats the parameter to get the field in the database checked.

Thanks!

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
On 12/13/2016 at 7:52 AM, TexterVaid said:

Hi I have a multi-page forms

form1 - 

after completion

I need to send a hidden parameter to a field called "Registration1_Complete".

The field is a Yes/No field.

 

In the form i have a hidden field which hen submission completes needs to "Check" the field in the database

 

I have tried various parameters in the On Exit to get teh database filed checked .

like [@YES] , [@TRUE]

 

Nothing seemd to work.

Whats the parameter to get the field in the database checked.

Thanks!

Hi Texter, Happy Holidays! Hope you still need help on this

I suppose that there is no need to pass parameter to the second form, just make this field hidden and onload receive "yes".

Link to post
Share on other sites
  • 0

Thanks :)same to you Mathilda ! got it working , 

It needed javascript cause it was based on a condition - only  if the primary key had a value.

Hope this helps someone.

Thanks again~

<SCRIPT LANGUAGE="JavaScript">
var tacyidvalue;

tacyidvalue=document.getElementById('cbParamVirtual6').value;

if(tacyidvalue !=='')

{
document.getElementById('InsertRecordTagnIsTacyemp').checked=true;
document.getElementById('InsertRecordTagnIsTacyRegistrant').checked=true;
}
else if (tacyidvalue =='')

{

document.getElementById('InsertRecordTagnIsTacyemp').checked=false;
document.getElementById('InsertRecordTagnIsTacyRegistrant').checked=false;
}


//alert(tacyidvalue);

</script>

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...