Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8343 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

We are attempting to use a Validate and Submit GoLive Action to verify form data before record creation. The Validation works well but we are getting an Error # 4 message (No Valid action in input form) when attempting to submit the form. We suspect the problem maybe in the following code:

<csactions>

<csaction name="B863138D5" class="SCValidateSubmit" type="onevent" val0="FirstName, LastName" val1="" val2="" val3="" val4="" val5="" val6="Fields are empty!" val7="#ff0f31" val8="tryForm" val9="true" val10="" val11="" val12="" val13="">

<csaction name="B863495312" class="SCValidateSubmit" type="onevent" val0="" val1="" val2="" val3="" val4="" val5="" val6="" val7="#ff7670" val8="tryForm" val9="true" val10="" val11="" val12="" val13="">

</csactions>

<form action="FMPro" method=post name="tryForm" onsubmit="CSAction(new Array(/*CMP*/'B863495312'));" cssubm="B863495312">

input type="button" name="tryButton"><input type=button name="-New" value="New Record" onclicktag="return CSAction(new Array(/*CMP*/'B863138D5'));" csclick="B863138D5"

Any suggestions are welcome !

Philip

Posted

Philip,

You may need to insert "-new" between these tags:

<csactions>

<csaction name="B863138D5" class="SCValidateSubmit" type="onevent" val0="FirstName, LastName" val1="" val2="" val3="" val4="" val5="" val6="Fields are empty!" val7="#ff0f31" val8="tryForm" val9="true" val10="" val11="" val12="" val13="">

<csaction name="B863495312" class="SCValidateSubmit" type="onevent" val0="" val1="" val2="" val3="" val4="" val5="" val6="" val7="#ff7670" val8="tryForm" val9="true" val10="" val11="" val12="" val13="" "-new">

</csactions>

It seems to be striping the "-new" from the submitted data.

All the best.

Garry

This topic is 8343 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.